Comparison
shandy-sqlfmt vs sqlfluff vs sqlvalidator 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 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 sqlvalidatorA SQL linter written in rust.
Actively maintained. Last release 5 weeks ago. A safe choice.
pip install sqruffIn 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.4M downloads a month, 9.8× more than shandy-sqlfmt.
- Maintenance is comparable: sqlfluff 94, sqruff 84, shandy-sqlfmt 80 on Pythie’s Index.
- Safe default for a new project: sqlfluff.
Side by side
| Metric | shandy-sqlfmt | sqlfluff | sqlvalidator | sqruff |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 94 |