sqlglot 
 SQL parser and transpiler
 A comprehensive Python library for parsing and transpiling various SQL dialects to ensure compatibility and correctness.
Python SQL Parser and Transpiler
7k stars
 42 watching
 730 forks
 
Language: Python 
last commit: 11 months ago 
Linked from   1 awesome list  
  bigqueryclickhousedatabricksduckdbhivemysqloptimizerparserpostgresprestopythonredshiftsnowflakesparksqlsqlitesqlparsertranspilertrinotsql 
 Related projects:
| Repository | Description | Stars | 
|---|---|---|
|    |  A tool that analyzes and formats SQL code to improve readability and quality. | 8,349 | 
|    |  A Python module for parsing and formatting SQL statements. | 3,778 | 
|    |  An AI model that converts natural language questions to SQL queries | 3,445 | 
|    |  A JavaScript library that formats and pretty-prints SQL queries in various dialects. | 2,402 | 
|    |  A tool that generates idiomatic Go code for SQL databases based on their schema or custom queries. | 3,748 | 
|    |  An asynchronous Python library providing support for querying multiple databases using SQLAlchemy core expressions. | 3,853 | 
|    |  Generates type-safe code from SQL queries | 13,704 | 
|    |  A powerful library providing an object-relational mapping system to interact with databases in a Pythonic way. | 9,807 | 
|    |  A high-performance analytical database system with support for complex queries and extensions to standard SQL. | 25,034 | 
|    |  A tool designed to detect and exploit SQL injection flaws in databases, allowing penetration testing and takeover | 32,841 | 
|    |  A high-level, async Rust library for interacting with relational databases. | 13,661 | 
|    |  Automates detection and exploitation of SQL injection security flaws using a cross-platform tool. | 3,208 | 
|    |  A framework for analyzing and understanding SQL queries, providing a common language and behavior across different query engines. | 2,337 | 
|    |  A chat-based interface for interacting with various databases using natural language queries. | 4,712 | 
|    |  An asynchronous Python ORM built on top of SQLAlchemy core | 2,686 |