Skip to main content

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)

Source distribution for omnisql 1.0.5
File Size Uploaded
omnisql-1.0.5.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for omnisql 1.0.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

1.1.0

2 release files

1.0.6

2 release files

This release

1.0.5 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page