Public record
Software health reportschema 0.31.0 · metrics 2.10.0 · 2026-08-08 18:51 UTC

google / pytype

A static type analyzer for Python code

PythonCustom license★ 5,029 stars⑂ 291 forkssince Mar 2015View on GitHub ↗
KindCommand-line toolLibraryhow this is determined

google/pytype holds a health index of 64 out of 100, placing it in the Moderate band. It scores highest on Community & Adoption (88/100) and lowest on AI Readiness (37/100). It was last updated 145 days ago. A single contributor accounts for most of its recent work.

64
overall / 100
Moderate

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.

64
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 65 is calibrated to 75 on the published index scale (record calibration 2026-08-02).

Ownership

GoogleOrganization
76,619 followers2,890 public repossince Jan 2012

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIpytype2024.10.11924,928203666 days ago

Metrics by category

Vitality

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

39Weak · 21% of overall
How it's scored
9.9/36Push recencylast push 145 days ago
5.5/36Commit cadence8/52 weeks with commits
11.3/18Commit volume17 commits in the last year
0/10OpenSSF Scorecard: Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Inputs used
commits_last_year17
human_commit_share0.99
days_since_last_push145
active_weeks_last_year8
How it's scored
16.2/27Ships releases100 version tags (no GitHub releases)
7.2/36Release recencylatest release 666 days ago
27/27Release cadencea release every ~34.2 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count100
latest_release_tag2024.10.11
releases_from_tagsyes
days_since_latest_release666
mean_days_between_releases34.2
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/60Stars5,029 stars
20.5/25Forks291 forks
9.5/15Watchers53 watchers
Inputs used
forks291
stars5,029
watchers53
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
16.9/22.5Licenselicense file present, not a recognized license
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges0
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_services
has_pull_request_templateno
How it's scored
79.5/80Monthly downloads924,928 downloads/month across pypi
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagespytype
dependents
ecosystemspypi
total_downloads
monthly_downloads924,928
unverified_packages_excluded
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?

73Good · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
9.4/22.5Commit distributiontop contributor authored 58% of commits
13.5/13.5Contributor breadth94 contributors
10/10OpenSSF Scorecard: Contributorsproject has 47 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled94
top_contributor_share0.582
How it's scored
42/42Issue resolution100% of issues closed
24.5/30PR acceptance978/1,198 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
1.5/15OpenSSF Scorecard: Code-ReviewFound 3/30 approved changesets -- score normalized to 1
Inputs used
merged_prs978
open_issues1
closed_issues745
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.999
closed_unmerged_prs220
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domainverified-domain status not read for this organization
25/25Owner reach76,619 followers of google
25/25Track record2,890 public repos, account ~14 yr old
Inputs used
followers76,619
owner_typeOrganization
is_verified
owner_logingoogle
public_repos2,890
account_age_days5,316
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.
How it's scored
25/25Published & resolvable1 package(s) on pypi
14/35Publish recencylatest publish 666 days ago
20/20Version history203 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagespytype
ecosystemspypi
any_deprecatedno
min_days_since_publish666

Engineering Quality

Are baseline engineering and documentation practices in place?

71Good · 19% of overall
How it's scored
24/24CI workflows2 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
10/20OpenSSF Scorecard: CI-Tests16 out of 27 merged PRs checked by a CI test -- score normalized to 5
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configno
has_precommit_configno

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage sitehttps://google.github.io/pytype
10/10Repository description
10/10Topics7 topics
0/10Wiki
Inputs used
topicspython, typing, typechecker, linter, types, static-analysis, static-code-analysis
has_wikino
homepagehttps://google.github.io/pytype
docs_sitehttps://google.github.io/pytype
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

62Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
3.8/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
1.2/2.5CI-Tests16 out of 27 merged PRs checked by a CI test -- score normalized to 5
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0.8/7.5Code-ReviewFound 3/30 approved changesets -- score normalized to 1
2.5/2.5Contributorsproject has 47 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.2/2.5Licenselicense file detected
0/7.5Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packagingno data
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
2.5/5SASTSAST tool is not run on all commits -- score normalized to 5
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
5.2/7.5Vulnerabilities3 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate5.2
Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisoriesno direct dependency carries a known advisory
25/25Indirect dependencies free of known advisoriesno indirect dependency carries a known advisory
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories0
affected_packages0
assessed_packages16
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the pypi:pytype@2024.10.11 runtime dependency closure — what installing the published package pulls in — 16 packages. Reachability is not analyzed.

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.

37Weak · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
24.8/40Legible commit history46 of 99 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.465
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
22/22Automated tests
0/11Lint / format config
0/11Static type checking
10/10Reproducible environmentDockerfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
8/8Automated maintenance1 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfiles
has_dockerfileyes
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0.01
How it's scored
0/45Type-checkable codePython without a type-check config
54.5/55Manageable file sizes5/554 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes151,678
source_files_sampled554
oversized_source_files5

Key facts

5,029GitHub stars
94contributors
17commits, last 12 months
145days since last push
100releases
1bus factor
1open issues
PyPI, RubyGemspackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 291 ⇿
0Stars
291Forks
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.

05010015020025030028892015-112021-032026-07
Major 0Minor 0Patch 100

Each point covers 10 days.

OpenSSF Scorecard 5.2 / 10
5.2aggregate

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-08-08 18:51 UTC

10Binary-Artifactsno binaries found in the repo
5Branch-Protectionbranch protection is not maximal on development and all release branches
5CI-Tests16 out of 27 merged PRs checked by a CI test -- score normalized to 5
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 3/30 approved changesets -- score normalized to 1
10Contributorsproject has 47 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
9Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
5SASTSAST tool is not run on all commits -- score normalized to 5
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7Vulnerabilities3 existing vulnerabilities detected
Direct dependencies 13
RegistryPackageVersion constraintManifest
PyPIattrs>=21.4.0setup.cfg
PyPIimportlab>=0.8setup.cfg
PyPIimmutabledict>=4.1.0setup.cfg
PyPIjinja2>=3.1.2setup.cfg
PyPIlibcst>=1.0.1setup.cfg
PyPImsgspec>=0.18.6setup.cfg
PyPInetworkx>=2.8setup.cfg
PyPIninja>=1.10.0.post2setup.cfg
PyPIpycnite>=2024.07.31setup.cfg
PyPIpydot>=1.4.2setup.cfg
PyPItabulate>=0.8.10setup.cfg
PyPItoml>=0.10.2setup.cfg
PyPItyping-extensions>=4.3.0setup.cfg
All dependencies 27

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

RegistryPackageVersionRelation
PyPIattrs24.2.0direct
PyPIimmutabledict4.2.0direct
PyPIimportlab0.8.1direct
PyPIjinja23.1.4direct
PyPIlibcst1.4.0direct
PyPImsgspec0.18.6direct
PyPInetworkx3.3direct
PyPIninja1.11.1.1direct
PyPIpycnite2024.7.31direct
PyPIpydot3.0.1direct
PyPItabulate0.9.0direct
PyPItoml0.10.2direct
PyPItyping-extensions4.12.2direct
PyPIastroid3.2.4indirect
PyPIcolorama0.4.6indirect
PyPIdill0.3.8indirect
PyPIisort5.13.2indirect
PyPImarkupsafe2.1.5indirect
PyPImccabe0.7.0indirect
PyPIplatformdirs4.3.6indirect
PyPIpybind112.13.6indirect
PyPIpylint3.2.7indirect
PyPIpyparsing3.1.4indirect
PyPIpyyaml6.0.2indirect
PyPItomlkit0.13.2indirect
RubyGemsgithub-pagesindirect
RubyGemswebrickindirect
Dependency advisories 0

Installing pypi:pytype@2024.10.11 pulls in 16 packages, direct and transitive: 0 carry known advisories, of which 0 are direct dependencies.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

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.31.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsPyPI.