{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database"}],"enrichment":{"capability":"A SQL parser, transpiler, and optimizer that converts SQL between over 30 dialects with no runtime dependencies.","skillfed_tags":["sql-parsing","dialect-translation","query-optimization"],"use_cases":["Translate SQL queries between incompatible dialects for cross-platform compatibility.","Format and normalize SQL code for consistency and readability across a codebase.","Extract metadata from queries\u2014find all columns, tables, and functions referenced in a SQL statement.","Detect and report SQL syntax errors such as unbalanced parentheses or incorrect keyword usage.","Build or modify SQL queries programmatically by constructing and manipulating the AST.","Optimize SQL queries by analyzing and rewriting expressions for better performance."],"what_it_does":"sqlglotrs is a SQL parser and transpiler that reads SQL in one dialect and outputs it in another, supporting over 30 database and query engine dialects. It parses SQL into an abstract syntax tree (AST), allowing you to analyze queries, extract metadata, detect syntax errors, and programmatically build or modify SQL. The package is written entirely in Python with no external dependencies, making it easy to integrate into any application.\n\nCommon use cases include translating queries between incompatible SQL dialects, formatting and normalizing SQL for consistency, and analyzing query structure. It can handle identifier delimiters and data type translation across dialects. The parser is intentionally lenient to accept a wide variety of SQL inputs, though it prioritizes semantic correctness over preserving cosmetic details like original formatting or casing.","worth_installing":"Yes, if you need to parse or translate SQL across multiple dialects. The package is actively maintained, has no runtime dependencies, and offers both pure Python and faster mypyc-compiled variants. However, the package summary marks it as deprecated in favor of sqlglotc\u2014verify whether that migration is necessary for your use case before committing."},"id":"sqlglotrs","links":{"html":"https://skillfed.io/packages/sqlglotrs","md":"https://skillfed.io/packages/sqlglotrs.md","pypi":"https://pypi.org/project/sqlglotrs/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-23","license_spdx":"MIT","license_treatment":"permissive","name":"sqlglotrs","python_support":"supports_current","summary":"Deprecated: use sqlglotc instead"},"popularity":{"monthly_downloads":4900289,"position":2206,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.13.0"}
