Skip to main content

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


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)

Uploaded Source

Built Distribution

dizz-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (220.3 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page