SQLGlot is a no-dependency SQL parser, transpiler, and optimizer written in Python. It can parse a wide variety of SQL dialects, transpile between them, and produce formatted SQL. Current version is 25.25.2.dev9 (development release; stable releases follow semantic versioning and are frequent).
pip install acryl-sqlglotVerified import paths — ran on the pinned version, not inferred.
Parse SQL, transpile between dialects, and format.
Use 'import sqlglot' or 'from sqlglot import ...'.
Use dialect classes like sqlglot.dialects.mysql.MySQL.
No dependency data recorded yet.