sqlglot
Python SQL解析器和转译器
Python SQL Parser and Transpiler
怎么安装
dsh plugin add github:tobymao/sqlglot 简介
SQLGlot is a no-dependency SQL parser, transpiler, optimizer, and engine. It can be used to format SQL or translate between over 30 dialects like DuckDB, Presto / Trino, Spark / Databricks, Snowflake, and BigQuery. It aims to read a wide variety of SQL inputs and output syntactically and semantically correct SQL in the targeted dialects. It is a very comprehensive generic SQL parser with a robust test suite. It is also quite performant, while being written purely in Python. You can easily customize the parser, analyze queries, traverse expression trees, and programmatically build SQL. SQLGlot …
推荐参考
信息
- 协议
- MIT
- 语言
- Python
- GitHub 星标
- 9.6K
- 月下载
- –
- 最近更新
- 2026-09-24
- 创建于
- 2021-03-13
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:punkpeye/awesome-mcp-servers
- 主题标签
- bigquery, clickhouse, databricks, duckdb, hive, mysql, optimizer, parser, postgres, presto, python, redshift, snowflake, spark, sql, sqlite, sqlparser, transpiler, trino, tsql
同类推荐
langfuse
langfuse/langfuse
🪢 开源AI工程平台:LLM评估、可观测性、指标、提示管理、游乐场、数据集。与OpenTelemetry、LangChain、OpenAI SDK、LiteLLM等集成。🍊YC W23