sqlglot 25.24.5
An easily customizable SQL parser and transpiler
sqlglot
is a Python package that serves as a comprehensive SQL parser, transpiler, optimizer, and engine. It is designed to read a wide variety of SQL inputs and output syntactically and semantically correct SQL in the targeted dialects. The package can be used to format SQL or translate between 19 different dialects like DuckDB, Presto, Spark, Snowflake, and BigQuery. It falls under the category of Database Management Systems (DBMS).
The tobymao/sqlglot
repo was created 3 years ago and the last code push was Yesterday.
The project is extremely popular with a mindblowing 6543 github stars!
How to Install sqlglot
You can install sqlglot using pip
pip install sqlglot
or add it to a project with poetry
poetry add sqlglot
Package Details
- Author
- Toby Mao
- License
- MIT
- Homepage
- https://github.com/tobymao/sqlglot
- PyPi:
- https://pypi.org/project/sqlglot/
- GitHub Repo:
- https://github.com/tobymao/sqlglot
Classifiers
Related Packages
Errors
A list of common sqlglot errors.
Code Examples
Here are some sqlglot
code examples and snippets.