Public record
Software health reportschema 0.30.0 · metrics 2.10.0 · 2026-08-03 03:38 UTC

typeddjango / djangorestframework-stubs

PEP-484 stubs for django-rest-framework

PythonMIT★ 538 stars⑂ 139 forkssince Nov 2018View on GitHub ↗

typeddjango/djangorestframework-stubs holds a health index of 95 out of 100, placing it in the Exceptional band. It scores highest on Vitality (100/100) and lowest on AI Readiness (61/100). It was last updated 4 days ago. 3 contributors account for most of its recent work.

95
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.

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

Ownership

TypedDjangoOrganization
145 followers6 public repossince Jul 2019

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIdjangorestframework-stubs3.17.15,756,867425 days ago

Metrics by category

Vitality

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

100Exceptional · 21% of overall

Development activity

100Exceptional
How it's scored
36/36Push recencylast push 4 days ago
36/36Commit cadence52/52 weeks with commits
18/18Commit volume268 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year268
human_commit_share0.2
days_since_last_push4
active_weeks_last_year52

Release discipline

100Exceptional
How it's scored
27/27Ships releases38 releases published
36/36Release recencylatest release 5 days ago
27/27Release cadencea release every ~34.8 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count38
latest_release_tag3.17.1
releases_from_tagsno
days_since_latest_release5
mean_days_between_releases34.8
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?

78Good · 17% of overall
How it's scored
44.3/60Stars538 stars
17.8/25Forks139 forks
2.7/15Watchers4 watchers
Inputs used
forks139
stars538
watchers4
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (MIT)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges2
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_servicesgithub.com, shields.io
has_pull_request_templateyes
How it's scored
80/80Monthly downloads5,756,867 downloads/month across pypi
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagesdjangorestframework-stubs
dependents
ecosystemspypi
total_downloads
monthly_downloads5,756,867
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?

80Excellent · 23% of overall
How it's scored
36/54Bus factor3 contributor(s) cover half of all commits
15.1/22.5Commit distributiontop contributor authored 33% of commits
13.5/13.5Contributor breadth84 contributors
10/10OpenSSF Scorecard: Contributorsproject has 31 contributing companies or organizations
Inputs used
bus_factor3
contributors_sampled84
top_contributor_share0.329
How it's scored
28.4/42Issue resolution68% of issues closed
25.3/30PR acceptance691/820 decided PRs merged
13/13Newcomer PR acceptance1/1 first-time contributors' PRs merged in 30d
3/15OpenSSF Scorecard: Code-ReviewFound 2/8 approved changesets -- score normalized to 2
Inputs used
merged_prs691
open_issues54
closed_issues113
prs_merged_7d2
prs_decided_7d2
prs_merged_30d2
prs_decided_30d2
issue_closed_ratio0.677
closed_unmerged_prs129
first_time_authors_30d1
first_time_prs_merged_30d1
first_time_prs_decided_30d1
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domainverified-domain status not read for this organization
15.6/25Owner reach145 followers of typeddjango
18.2/25Track record6 public repos, account ~7 yr old
Inputs used
followers145
owner_typeOrganization
is_verified
owner_logintypeddjango
public_repos6
account_age_days2,586
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable1 package(s) on pypi
35/35Publish recencylatest publish 5 days ago
20/20Version history42 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesdjangorestframework-stubs
ecosystemspypi
any_deprecatedno
min_days_since_publish5

Engineering Quality

Are baseline engineering and documentation practices in place?

80Excellent · 19% of overall

Engineering practices

100Exceptional
How it's scored
24/24CI workflows2 workflow(s)
24/24Tests present
16/16Linter config
9.6/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests25 out of 25 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configyes
has_precommit_configyes

Documentation

50Moderate
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
10/10Topics5 topics
0/10Wiki
Inputs used
topicsmypy, django-rest-framework, python, django, pep484
has_wikino
homepage
docs_site
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

70Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
2.5/2.5CI-Tests25 out of 25 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-ReviewFound 2/8 approved changesets -- score normalized to 2
2.5/2.5Contributorsproject has 31 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.5/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releasesno data
6.8/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate6.2
Excluded from scoring (no data or not applicable): 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_packages7
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:djangorestframework-stubs@3.17.1 runtime dependency closure — what installing the published package pulls in — 7 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.

61Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history20 of 20 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share1
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config
11/11Static type checkingmypy.ini
10/10Reproducible environmentlockfile
6/10Demonstrated agent practice3 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance61 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
lockfilesuv.lock
has_dockerfileno
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configyes
typecheck_configsmypy.ini
agent_commit_share0.03
toolchain_manifests
dependency_bot_commit_share0.61
How it's scored
27/45Type-checkable codePython with type-check config (mypy.ini)
55/55Manageable file sizes0/24 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes4,969
source_files_sampled24
oversized_source_files0

Key facts

538GitHub stars
84contributors
268commits, last 12 months
4days since last push
38releases
3bus factor
54open issues
PyPIpackage ecosystems

Data collection warnings

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

More detail

Star and fork history 0 ★ / 139 ⇿
0Stars
139Forks
37Releases

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.

025507510012515012832019-022022-112026-07
Major 0Minor 17Patch 19

Each point covers 7 days.

OpenSSF Scorecard 6.2 / 10
6.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-03 03:38 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests25 out of 25 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2Code-ReviewFound 2/8 approved changesets -- score normalized to 2
10Contributorsproject has 31 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 0 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
9Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 3
RegistryPackageVersion constraintManifest
PyPIdjango-stubs>=6.0.7pyproject.toml
PyPItyping-extensions>=4.0pyproject.toml
PyPItypes-PyYAMLpyproject.toml
All dependencies 60

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

RegistryPackageVersionRelation
PyPIdjango-stubs6.0.7direct
PyPItypes-pyyaml6.0.12.20260518direct
PyPItyping-extensions4.16.0direct
PyPIasgiref3.11.1indirect
PyPIast-serialize0.6.0indirect
PyPIattrs26.1.0indirect
PyPIcertifi2026.6.17indirect
PyPIcfgv3.5.0indirect
PyPIcharset-normalizer3.4.9indirect
PyPIcolorama0.4.6indirect
PyPIcoreapi2.3.3indirect
PyPIcoreschema0.0.4indirect
PyPIdecorator5.3.1indirect
PyPIdistlib0.4.3indirect
PyPIdjango5.2.16indirect
PyPIdjango6.0.7indirect
PyPIdjango-stubs-ext6.0.7indirect
PyPIdjangorestframework3.17.1indirect
PyPIdjangorestframework-stubs3.17.1indirect
PyPIexceptiongroup1.3.1indirect
PyPIfilelock3.29.7indirect
PyPIidentify2.6.19indirect
PyPIidna3.18indirect
PyPIiniconfig2.3.0indirect
PyPIitypes1.2.0indirect
PyPIjinja23.1.6indirect
PyPIjsonschema4.26.0indirect
PyPIjsonschema-specifications2025.9.1indirect
PyPIlibrt0.13.0indirect
PyPImarkupsafe3.0.3indirect
PyPImypy2.2.0indirect
PyPImypy-extensions1.1.0indirect
PyPInodeenv1.10.0indirect
PyPIpackaging26.2indirect
PyPIpathspec1.1.1indirect
PyPIplatformdirs4.10.0indirect
PyPIpluggy1.6.0indirect
PyPIpre-commit4.6.1indirect
PyPIpygments2.20.0indirect
PyPIpytest9.1.1indirect
PyPIpytest-mypy-plugins4.0.3indirect
PyPIpython-discovery1.4.4indirect
PyPIpyyaml6.0.3indirect
PyPIreferencing0.37.0indirect
PyPIregex2026.7.10indirect
PyPIrequests2.34.2indirect
PyPIrpds-py0.30.0indirect
PyPIrpds-py2026.6.3indirect
PyPIsqlparse0.5.5indirect
PyPItomli2.4.1indirect
PyPItomlkit0.15.0indirect
PyPItypes-docutils0.22.3.20260712indirect
PyPItypes-markdown3.10.2.20260712indirect
PyPItypes-pygments2.20.0.20260518indirect
PyPItypes-pytz2026.2.0.20260518indirect
PyPItypes-requests2.33.0.20260712indirect
PyPItzdata2026.3indirect
PyPIuritemplate4.2.0indirect
PyPIurllib32.7.0indirect
PyPIvirtualenv21.6.1indirect
Dependency advisories 0

Installing pypi:djangorestframework-stubs@3.17.1 pulls in 7 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.30.0 — full methodology · metrics wiki.

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