{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"A command-line SQL formatter that automatically reformats SQL files to a consistent style, similar to Black for Python or gofmt for Go.","skillfed_tags":["sql-formatting","dbt-tools","code-style"],"use_cases":["Enforce consistent SQL style across a dbt project without manual code review discussions","Format SQL files automatically in pre-commit hooks or CI/CD pipelines before deployment","Quickly reformat legacy or inconsistently-styled SQL codebases to a standard format","Format Jinja-templated SQL files while preserving template logic","Check SQL formatting compliance in CI without modifying files using --check mode"],"what_it_does":"This package is a fast, opinionated SQL formatter built for dbt projects and other SQL codebases. It works by lexing SQL into tokens and reformatting to a single enforced style, without requiring a full SQL parser. This approach makes it much faster than traditional linters and easier to maintain. The tool formats select, delete, grant, revoke, and create function statements, preserves comments and some whitespace, and works with Jinja templates embedded in SQL.\n\nIt integrates with dbt, pre-commit, VSCode, and CI systems. Configuration is minimal\u2014line length and dialect choice (polyglot by default, with special handling for ClickHouse). The package depends on click, jinja2, platformdirs, tomli, and tqdm for CLI, templating, configuration, and progress display.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and fills a clear need for SQL formatting in dbt and analytics workflows. The Apache-2.0 license poses no restrictions. Start with a version-controlled repository and use --check or --diff on first run to verify output before committing changes."},"id":"shandy-sqlfmt","links":{"html":"https://skillfed.io/packages/shandy-sqlfmt","md":"https://skillfed.io/packages/shandy-sqlfmt.md","pypi":"https://pypi.org/project/shandy-sqlfmt/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-10","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"shandy-sqlfmt","python_support":"supports_current","summary":"sqlfmt formats your dbt SQL files so you don't have to."},"popularity":{"monthly_downloads":1415027,"position":3932,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.32.0"}
