No project description provided
Project description
dizz
An extremely fast Python SQL formatter, written in Rust.
Developing
Create a new virtual environment and install the dependencies:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Then you can run the maturin
tool (which should be installed):
maturin develop
This will build the Rust code and install the Python package within the virtual environment. Allowing you to open up a python console and import the package:
>>> import dizz
>>> dizz.fmt_sql("SELECT * FROM foo")
'SELECT\n *\nFROM\n foo'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dizz-0.1.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for dizz-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c7c34a39983b642f02d380311aca1181fb1061cb9460b370d98c230f19fdbe8 |
|
MD5 | 0e001588f1fbbd3a290dcfdbfe3e7e96 |
|
BLAKE2b-256 | 8c150cf2191f5ddbd6d931f5290870a764a9b48615527e90709ce14248334eff |