sqlfluffrs
The SQL Linter for Humans
What it is and what it does
SQLFluff-rs is a Rust-based performance component designed as an optional supplement to a SQL linting package. It is not a standalone tool and must be installed alongside the main package to provide any functionality. The package ships as prebuilt ABI3 wheels for CPython 3.10+ on common platforms, reducing installation friction on those targets; on unsupported platforms, it falls back to source builds that require a Rust toolchain and C/C++ compiler.
The package is explicitly marked as experimental and supplementary. It serves as an optional backend to accelerate certain operations, but all core linting and formatting logic remains part of the main package. Direct installation is intended for development or debugging; end users should install via the optional extra to automatically pull in this component when appropriate for their platform.
Use it for:
- Accelerate SQL linting performance on supported platforms by installing the optional Rust component.
- Develop or debug Rust integration by installing sqlfluffrs directly from a checkout.
- Test on platforms where prebuilt wheels are not available by building from source with Rust.
- Use on CPython 3.10+ with automatic Rust backend support without per-version wheel management.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
SQLFluff-rs is a Rust-based optional component that integrates with a SQL linting package to accelerate certain operations; it is not a standalone linter and requires the main package to function.
Yes, if you use the main SQL linting package and want optional performance acceleration on a supported platform. Install via the optional extra rather than directly; this package is not standalone. If your platform lacks a prebuilt wheel, source builds require Rust and a C/C++ compiler—verify those are available before attempting installation. No known security vulnerabilities.
Install
sqlfluffrs on PyPI
pip
pip install sqlfluffrsuv
uv add sqlfluffrspoetry
poetry add sqlfluffrsInstalling sqlfluffrs
Before you install
Medium install friction due to compiled Rust dependency. Prebuilt ABI3 wheels available for CPython 3.10+ on common platforms (macOS, Linux, Windows); source builds require Rust toolchain and C/C++ compiler. Released 7 days ago; repository is active with 9853 stars.
License in practice
Licensed under MIT (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install sqlfluffrs
Or install as an optional extra: pip install sqlfluffrs[rs]
Requires CPython 3.10 or later. If prebuilt wheel unavailable for your platform, source build requires Rust toolchain (rustup) and C/C++ compiler.
Verify before relying
- Specific performance improvement metrics or benchmarks provided by this component
- Which operations or SQL dialects benefit most from the Rust backend
- Whether PyPy support (listed in classifiers) is fully functional or experimental
- Exact integration points and how this component is invoked by the main package
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 91,342/month — #13,520 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sqlfluffrs-4.3.0-cp310-abi3-macosx_10_12_x86_64.whl; sqlfluffrs-4.3.0-cp310-abi3-macosx_11_0_arm64.whl; sqlfluffrs-4.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; sqlfluffrs-4.3.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; sqlfluffrs-4.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; sqlfluffrs-4.3.0-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl; sqlfluffrs-4.3.0-cp310-abi3-musllinux_1_2_aarch64.whl; sqlfluffrs-4.3.0-cp310-abi3-musllinux_1_2_armv7l.whl; sqlfluffrs-4.3.0-cp310-abi3-musllinux_1_2_i686.whl; sqlfluffrs-4.3.0-cp310-abi3-musllinux_1_2_x86_64.whl; sqlfluffrs-4.3.0-cp310-abi3-win_amd64.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
sqlfluffSQLFluff is a SQL linter and auto-fixer that…
permissive · top 5,000 on PyPI
collate-sqlfluffSQLFluff is a SQL linter and auto-fixer that…
permissive · top 15,000 on PyPI
sqlfluff-templater-dbtEnables SQLFluff to lint and auto-fix dbt…
permissive · top 5,000 on PyPI
ormar-utilsProvides Rust-accelerated implementations of…
permissive · top 15,000 on PyPI
json-stream-rs-tokenizerA Rust-based JSON tokenizer that accelerates…
unclear · top 5,000 on PyPI
collate-sqllineageAnalyzes SQL statements to extract source and…
permissive · top 5,000 on PyPI
datafusion-query-builderBuilds DataFusion SQL queries programmatically…
permissive · top 15,000 on PyPI
openlineage-sqlProvides a Python interface to a Rust-based SQL…
unclear · top 5,000 on PyPI
json-tools-rsFlattens and unflattens nested JSON structures…
permissive · top 15,000 on PyPI
hogql-parser-rsParses HogQL query expressions into JSON AST…
permissive · top 5,000 on PyPI