Comparison
shandy-sqlfmt vs sqlfluff vs sqruff
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
sqlfmt formats your dbt SQL files so you don't have to.
Actively maintained. Last release 4 months ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install shandy-sqlfmtThe SQL Linter for Humans
Actively maintained. Last release 5 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install sqlfluffA SQL linter written in rust.
Actively maintained. Last release 5 weeks ago. A safe choice.
$
pip install sqruffIn short
- sqlfluff is the most used: 11.4M downloads a month, 9.8× more than shandy-sqlfmt.
- Maintenance is comparable: sqlfluff 93, sqruff 84, shandy-sqlfmt 80 on Pythie’s Index.
- Safe default for a new project: sqlfluff.
Side by side
| Metric | shandy-sqlfmt | sqlfluff | sqruff |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | Pythie’s Index: 93 | Pythie’s Index: 84 |
| Verdict | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 1.2M | 11.4M | 164.5K |
| Downloads, month over month | +9% | +5% | -11% |
| GitHub stars | 550 | 10K | – |
| Stars, last 7 days | – | – | – |
| Direct dependents | 5 | 62 | 2 |
| Last release | Aug 10, 2026 | Oct 30, 2026 | Oct 30, 2026 |
| Releases, 12 months | 4 | 13 | 24 |
| Weeks with commits | 26 / 26 | 26 / 26 | – |
| Recent contributors | 3 | 37 | – |
| First release | Nov 2021 | Nov 2018 | Sep 2024 |
| Python versions | – | 3.10 – 3.14 | – |
| License | Apache-2.0 | MIT | unknown |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.