skillfed

sqlfluffrs

The SQL Linter for Humans

sqlfluffrs v4.3.0 91.3K downloads/30d#13,520 on PyPI9,853
Permissive license Active released

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 sqlfluffrs

uv

uv add sqlfluffrs

poetry

poetry add sqlfluffrs

Installing 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

Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: RustProgramming Language :: SQLTopic :: Software Development :: Quality AssuranceTopic :: Utilities

Tags

sql linting rust accelerationoptional rust component sqlsql parser rust backendrust-based sql performancerust sql formatting
sql-lintingrust-acceleratedoptional-component

More Utilities packages