OmniSQL Python Wrapper
This is the Python wrapper for OmniSQL, a blazing-fast SQL linter built in Rust.
For full documentation, visit the main repository.
Usage Guide
Linting Commands
You can run OmniSQL from the command line to lint your SQL files:
-
Lint a single file:
omnisql lint path/to/query.sql
-
Lint an entire directory:
omnisql lint ./sql_queries/
-
Auto-fix violations:
omnisql lint --fix ./sql_queries/
-
Lint with a specific configuration file:
omnisql lint --config path/to/omnisql.yaml ./sql_queries/
Upgrading OmniSQL
To stay up to date with the latest features, performance improvements, and rule additions, you can upgrade OmniSQL via PyPI:
pip install --upgrade omnisql
Metadata
Release files for omnisql 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omnisql-1.0.5.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omnisql-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / omnisql-1.0.5.tar.gz
| Download URL | omnisql-1.0.5.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd63667f52a6b432490e1a2505c065200376e755dc00271c464dc3e42ef0a076
|
|
BLAKE2b-256 checksum How to use checksums |
fbf31021175fe2ec50fd1663450c21c8d4d8f989f7504cc9a7972d30c998ffdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / omnisql-1.0.5-py3-none-any.whl
| Download URL | omnisql-1.0.5-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad70ec5ee9e65293c9be0e30ff61fe1280c1e23ad8b9a065fdf5eda783d45ba2
|
|
BLAKE2b-256 checksum How to use checksums |
2e4b6fc60c91003a2187466e1a0e983c2cf7c7d1e486585f34b8ce62b6ab602c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|