Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-24 07:56 UTC

tobymao / sqlglot

Python SQL Parser and Transpiler

PythonMIT★ 9,716 stars⑂ 1,353 forkssince Mar 2021View on GitHub ↗

tobymao/sqlglot holds a health index of 94 out of 100, placing it in the Exceptional band. It scores highest on Vitality (95/100) and lowest on Security (51/100). It was last updated today. 2 contributors account for most of its recent work.

94
overall / 100
Exceptional

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

94
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 81 is calibrated to 94 on the published index scale (record calibration 2026-08-02).

Ownership

Toby MaoPersonal account
1,112 followers56 public repossince Jul 2014@Fivetran

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIsqlglot30.24.071,820,8137873 days ago
PyPIsqlglotc30.24.01,801,857183 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

95Exceptional · 21% of overall

Development activity

100Exceptional
How it's scored
36/36Push recency — last push 0 days ago
36/36Commit cadence — 52/52 weeks with commits
18/18Commit volume — 2,356 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year2,356
Share of human-authored commits1
Days since last push0
Weeks with commits in the last year52
How it's scored
16.2/27Ships releases — 100 version tags (no GitHub releases)
36/36Release recency — latest release 3 days ago
27/27Release cadence — a release every ~8.6 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases100
Latest release tagv30.24.0
Releases derived from version tagsyes
Days since latest release3
Mean days between releases8.6
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

88Excellent · 17% of overall
How it's scored
60/60Stars — 9,716 stars
25/25Forks — 1,353 forks
9.6/15Watchers — 54 watchers
Inputs used
Forks1,353
Stars9,716
Watchers54
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README0
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentno
Badge services used in the README—
Pull request template presentno
How it's scored
80/80Monthly downloads — 73,622,670 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagessqlglot, sqlglotc
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads73,622,670
Packages excluded as unverified—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

79Good · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
15/22.5Commit distribution — top contributor authored 34% of commits
13.5/13.5Contributor breadth — 100 contributors
10/10OpenSSF Scorecard: Contributors — project has 20 contributing companies or organizations
Inputs used
Bus factor2
Contributors sampled100
Share of commits by the top contributor0.335
How it's scored
41.9/42Issue resolution — 100% of issues closed
26.8/30PR acceptance — 4,899/5,490 decided PRs merged
10.4/13Newcomer PR acceptance — 4/5 first-time contributors' PRs merged in 30d
9/15OpenSSF Scorecard: Code-Review — Found 18/30 approved changesets -- score normalized to 6
Inputs used
Merged pull requests4,899
Open issues5
Closed issues3,033
Pull requests merged in the last 7 days49
Pull requests decided in the last 7 days60
Pull requests merged in the last 30 days49
Pull requests decided in the last 30 days60
Share of issues closed0.998
Pull requests closed without merging591
First-time contributors with a pull request decided in the last 30 days5
Pull requests from first-time contributors merged in the last 30 days4
Pull requests from first-time contributors decided in the last 30 days5
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
21.9/25Owner reach — 1,112 followers of tobymao
24.8/25Track record — 56 public repos, account ~12 yr old
Inputs used
Followers1,112
Owner account typeUser
Verified domain—
Owner accounttobymao
Public repositories56
Owner account age in days4,480
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 2 package(s) on pypi
35/35Publish recency — latest publish 3 days ago
20/20Version history — 787 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagessqlglot, sqlglotc
Package ecosystemspypi
Any package deprecated or yankedno
Days since latest package publish3

Engineering Quality

Are baseline engineering and documentation practices in place?

86Excellent · 19% of overall
How it's scored
24/24CI workflows — 4 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 21 out of 21 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentyes
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://sqlglot.com/
10/10Repository description
10/10Topics — 20 topics
10/10Wiki
Inputs used
Repository topicstranspiler, sql, python, parser, optimizer, bigquery, duckdb, hive, mysql, postgres, presto, snowflake, spark, sqlite, sqlparser, trino, tsql, clickhouse, redshift, databricks
Wiki enabledyes
Repository homepagehttps://sqlglot.com/
Documentation sitehttps://sqlglot.com/
README presentyes
Documentation directory presentno
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

51Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
2.5/2.5CI-Tests — 21 out of 21 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
4.5/7.5Code-Review — Found 18/30 approved changesets -- score normalized to 6
2.5/2.5Contributors — project has 20 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated17
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive1
OpenSSF Scorecard aggregate score5.1
Excluded from scoring (no data or not applicable): Signed-Releases. Remaining weights renormalized.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

77Good · 4% of overall
How it's scored
45/45Agent instructions — AGENTS.md, CLAUDE.md
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 79 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.79
Agent instruction filesAGENTS.md, CLAUDE.md
Size of the largest agent instruction file (bytes)17,751
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
11/11Static type checking — sqlglot/py.typed
0/10Reproducible environment
10/10Demonstrated agent practice — 17 of the last 100 commits agent-authored or agent-credited
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfiles—
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesMakefile
Dev container config presentno
Linter config presentyes
Static type-check config filessqlglot/py.typed
Share of commits authored by or credited to coding agents0.17
Toolchain manifests—
Share of commits that are automated dependency updates0
How it's scored
27/45Type-checkable code — Python with type-check config (sqlglot/py.typed)
50.3/55Manageable file sizes — 22/255 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)416,098
Source files sampled255
Oversized source files22

Key facts

9,716GitHub stars
100contributors
2,356commits, last 12 months
0days since last push
100releases
2bus factor
5open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • First-time contributor figures cover 12 of 19 authors (cap 12)
  • No resolved dependencies carried a version and a supported ecosystem

More detail

Star and fork history 0 ★ / 1,353 ⇿
0Stars
1,353Forks
100Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

Only the most recent history is shown — this repository exceeds the collection window, so the earliest history is not captured.

2004006008001,0001,2001,4001,353112023-092025-032026-10
Major 3Minor 63Patch 34

Each point covers 3 days.

OpenSSF Scorecard 5.1 / 10
5.1aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-10-24 07:56 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests21 out of 21 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
6Code-ReviewFound 18/30 approved changesets -- score normalized to 6
10Contributorsproject has 20 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
All dependencies 2

Full resolved dependency set from the GitHub dependency graph: 0 direct and 2 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
PyPImypy—indirect
PyPIsetuptools—indirect
Dependency advisories not assessed

Advisory matching could not run for this report: No resolved dependencies carried a version and a supported ecosystem

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — PyPI.