{"adoption": {"forks": 1263, "observed_at": "2026-08-28T04:10:32.048391+00:00", "stars": 9569}, "canonical_url": "https://ross.abutalabs.com/products/sqlglot", "card": {"archived": false, "artifact_type": "library", "description": "Python SQL Parser and Transpiler", "domain": ["databases", "parsers", "developer-tools"], "enriched": true, "function": ["parser", "compiler", "developer-tools"], "health_score": 80, "homepage": "https://sqlglot.com/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["tobymao/sqlglot"], "name": "tobymao/sqlglot", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-26T18:57:51+00:00", "repo": "tobymao/sqlglot", "stars": 9569, "tags": ["sql", "transpiler", "sql-dialects", "ast", "query-optimization", "sql-formatting", "query-engine", "data-engineering"], "topics": ["transpiler", "sql", "python", "parser", "optimizer", "bigquery", "duckdb", "hive", "mysql", "postgres", "presto", "snowflake", "spark", "sqlite", "sqlparser", "trino", "tsql", "clickhouse", "redshift", "databricks"], "urls": [], "use_cases": ["translate SQL between dialects like Snowflake and BigQuery", "format and pretty-print SQL queries", "parse SQL into an AST for analysis", "detect SQL syntax errors and dialect incompatibilities", "programmatically build or modify SQL queries", "optimize SQL queries", "execute SQL with a pure-Python engine"], "what_it_is": "SQLGlot is a dependency-free Python SQL parser, transpiler, optimizer, and execution engine supporting 30+ SQL dialects such as DuckDB, Snowflake, BigQuery, and Spark. It enables formatting, translating, analyzing, and programmatically building SQL via expression trees.", "when_to_avoid": ["you need a full production database engine rather than parsing/transpiling", "you need a non-Python runtime"], "when_to_choose": ["you need dialect-agnostic SQL parsing or translation in Python", "you want a zero-dependency, pure-Python SQL tool", "you need to analyze, lint, or rewrite SQL programmatically"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sqlglot", "repo": "tobymao/sqlglot", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:32.048391+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.964358+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e9ce69d8caf72eb4784db55f93a43445b25ccaa69cacdc8a3bec3e05b7065a9", "fetched_at": "2026-08-28T04:10:32.048391+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tobymao/sqlglot"}, {"content_hash": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "fetched_at": "2026-08-29T08:21:28.304966+00:00", "kind": "homepage", "missing": false, "url": "https://sqlglot.com/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1999, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}