Comparison
shandy-sqlfmt vs sqlfluff vs sqlvalidator
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 4 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install sqlfluffSQL queries formatting, syntactic and semantic validation
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install sqlvalidatorIn short
- sqlvalidator is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- sqlfluff is the most used: 11.7M downloads a month, 9.8× more than shandy-sqlfmt.
- sqlfluff also has the best Pythie’s Index (93).
- Safe default for a new project: sqlfluff.
Side by side
| Metric | shandy-sqlfmt | sqlfluff | sqlvalidator |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | Pythie’s Index: 93 | Pythie’s Index: 18 |
| Verdict | Actively maintained | Actively maintained | Slowing down |
| Downloads / month | 1.2M | 11.7M | 105.2K |
| Downloads, month over month | +8% | +5% | +13% |
| GitHub stars | 550 | 10K | 74 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 5 | 62 | 8 |
| Last release | Aug 10, 2026 | Oct 30, 2026 | Dec 25, 2022 |
| Releases, 12 months | 4 | 13 | 0 |
| Weeks with commits | 26 / 26 | 26 / 26 | 0 / 26 |
| Recent contributors | 3 | 39 | 3 |
| First release | Nov 2021 | Nov 2018 | May 2020 |
| Python versions | – | 3.10 – 3.14 | 3.7 – 3.11 |
| License | Apache-2.0 | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.