{"adoption": {"forks": 740, "observed_at": "2026-08-28T04:08:32.383074+00:00", "stars": 4014}, "canonical_url": "https://ross.abutalabs.com/products/sqlparse", "card": {"archived": false, "artifact_type": "library", "description": "A non-validating SQL parser module for Python", "domain": ["parsers", "databases", "developer-tools"], "enriched": true, "function": ["parser", "formatter", "cli"], "health_score": 78, "homepage": null, "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["andialbrecht/sqlparse"], "name": "andialbrecht/sqlparse", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-08-13T19:17:19+00:00", "repo": "andialbrecht/sqlparse", "stars": 4014, "tags": ["sql", "tokenizer", "sql-formatter", "non-validating-parser"], "topics": ["formatter", "python", "sql", "sql-formatter", "sql-parser", "tokenizer"], "urls": [], "use_cases": ["parse SQL statements in Python", "format and pretty-print SQL queries", "split a SQL script into individual statements", "build a SQL linter or query analyzer", "reformat SQL files from the command line", "inspect the token structure of a SQL query"], "what_it_is": "sqlparse is a non-validating SQL parser library for Python that tokenizes SQL text, splits scripts into statements, formats them, and exposes a traversable token tree. It makes no dialect assumptions, so vendor extensions and templated SQL parse fine, and it also ships a sqlformat command-line tool.", "when_to_avoid": ["you need full SQL validation or a complete syntax/semantic parse tree", "you need to execute queries or need a database driver", "you need dialect-specific ASTs with exact grammar rules"], "when_to_choose": ["you need to parse, split, or reformat SQL without strict validation", "you work with mixed or non-standard SQL dialects and templated SQL", "you're building tooling like formatters, linters, or editors on top of SQL text"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sqlparse", "repo": "andialbrecht/sqlparse", "role": "main", "score": 76}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "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:08:32.383074+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.383074+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:59.641858+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "93b49844a216ca3f51eaf8404b2e5c97abffb54d51fabe980250ebb1dd9cf153", "fetched_at": "2026-08-28T04:08:32.383074+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andialbrecht/sqlparse"}, {"content_hash": "ad683f985bbedef7bef0830f1cc1699648d901ba588d81aae81df257476d765b", "fetched_at": "2026-08-29T09:16:45.750450+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sqlparse/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "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": 5250, "days_push": 20, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 76, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}