{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Formats, validates, and checks SQL SELECT statements for syntactic and semantic correctness, with command-line and Python API interfaces.","skillfed_tags":["sql-formatting","query-validation","pre-commit-hook"],"use_cases":["Enforce consistent SQL formatting in Python codebases that embed SQL strings, using the CLI in pre-commit hooks or CI pipelines.","Catch common SQL errors (missing columns, invalid aggregations, type mismatches) in SELECT queries without needing a live database.","Reformat ad-hoc or poorly formatted SQL strings in Python code to a standard style for readability.","Validate SQL queries in data-processing scripts or ETL tools before execution.","Integrate SQL validation into linting workflows for projects that generate or manipulate SELECT statements programmatically."],"what_it_does":"sqlvalidator is a Python tool for formatting and validating SQL SELECT statements. It offers both a command-line interface and a Python API to reformat SQL code to a consistent style, check whether files conform to that style (useful in CI/CD), and validate SELECT queries for semantic correctness\u2014such as detecting missing columns, invalid function calls, and type mismatches in expressions. The validation is schemaless, meaning it does not require a live database connection or schema definition.\n\nThe package has no runtime dependencies and installs easily, but it is in Alpha and has been dormant since its latest release. It only handles SELECT statements; INSERT, UPDATE, DELETE, and other SQL operations are out of scope. The author has stated they want to retain full control over the project direction and do not guarantee acceptance of pull requests, so community-driven improvements are unlikely.","worth_installing":"Yes, if you need lightweight SELECT-only SQL formatting and basic semantic validation in a Python project and can accept that the package is dormant. No, if you need support for INSERT/UPDATE/DELETE, expect regular maintenance, or require validation of complex or dialect-specific SQL. The low install friction and permissive license make it low-risk to try, but the Alpha status and dormant maintenance mean you should not rely on it for critical workflows."},"id":"sqlvalidator","links":{"html":"https://skillfed.io/packages/sqlvalidator","md":"https://skillfed.io/packages/sqlvalidator.md","pypi":"https://pypi.org/project/sqlvalidator/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-12-25","license_spdx":null,"license_treatment":"permissive","name":"sqlvalidator","python_support":"unspecified","summary":"SQL queries formatting, syntactic and semantic validation"},"popularity":{"monthly_downloads":162127,"position":10615,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.20"}
