Public record
Software health reportschema 0.12.0 · metrics 2.10.0 · 2026-07-18 13:14 UTC

tfranzel / drf-spectacular

Sane and flexible OpenAPI 3 schema generation for Django REST framework.

PythonBSD-3-Clause★ 2,847 stars⑂ 327 forkssince Mar 2020View on GitHub ↗
KindLibraryNetwork servicehow this is determined

tfranzel/drf-spectacular holds a health index of 83 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (88/100) and lowest on Security (48/100). It was last updated 12 days ago. A single contributor accounts for most of its recent work.

83
overall / 100
Excellent

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.

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

Ownership

T. FranzelPersonal account
105 followers18 public repossince Jul 2015

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 publishTags
PyPIdrf-spectacular0.30.0-6712 days agodjangorestopenapischemaapiswagger

Metrics by category

Vitality

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

76Good · 21% of overall
How it's scored
28.8/36Push recencylast push 12 days ago
13.8/36Commit cadence20/52 weeks with commits
17.8/18Commit volume94 commits in the last year
10/10OpenSSF Scorecard: Maintained25 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year94
human_commit_share
days_since_last_push12
active_weeks_last_year20
How it's scored
27/27Ships releases12 releases published
36/36Release recencylatest release 12 days ago
12.6/27Release cadencea release every ~130.9 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count12
latest_release_tag0.30.0
releases_from_tagsno
days_since_latest_release12
mean_days_between_releases130.9
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?

76Good · 17% of overall
How it's scored
56/60Stars2,847 stars
20.9/25Forks327 forks
5/15Watchers9 watchers
Inputs used
forks327
stars2,847
watchers9
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (BSD-3-Clause)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno

Sustainability & Governance

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

63Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
4.3/22.5Commit distributiontop contributor authored 81% of commits
13.5/13.5Contributor breadth100 contributors
10/10OpenSSF Scorecard: Contributorsproject has 33 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled100
top_contributor_share0.811
How it's scored
35.2/42Issue resolution84% of issues closed
22.3/30PR acceptance308/414 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
3/15OpenSSF Scorecard: Code-ReviewFound 5/23 approved changesets -- score normalized to 2
Inputs used
merged_prs308
open_issues174
closed_issues902
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.838
closed_unmerged_prs106
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
10/30Ownership backingpersonal (user) account
0/20Verified domainnot applicable to user accounts
14.6/25Owner reach105 followers of tfranzel
21.3/25Track record18 public repos, account ~10 yr old
Inputs used
followers105
owner_typeUser
is_verified
owner_logintfranzel
public_repos18
account_age_days4,009
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 12 days ago
20/20Version history67 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesdrf-spectacular
ecosystemspypi
any_deprecatedno
min_days_since_publish12

Engineering Quality

Are baseline engineering and documentation practices in place?

88Excellent · 19% of overall
How it's scored
24/24CI workflows2 workflow(s)
24/24Tests present
16/16Linter configtox.ini
0/9.6Pre-commit hooks
0/6.4.editorconfig
16/20OpenSSF Scorecard: CI-Tests8 out of 10 merged PRs checked by a CI test -- score normalized to 8
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configno

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage sitehttps://drf-spectacular.readthedocs.io
10/10Repository description
10/10Topics9 topics
10/10Wiki
Inputs used
topicsrest-framework, openapi3, django, swagger, openapi-specification, documentation-generator, rest-api, drf, openapi-generator
has_wikiyes
homepagehttps://drf-spectacular.readthedocs.io
docs_sitehttps://drf-spectacular.readthedocs.io
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

48Weak · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionno data
2/2.5CI-Tests8 out of 10 merged PRs checked by a CI test -- score normalized to 8
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-ReviewFound 5/23 approved changesets -- score normalized to 2
2.5/2.5Contributorsproject has 33 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.5Maintained25 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
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
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities43 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate4.8
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, 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.

50Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
0/40Legible commit historyno data
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.
How it's scored
18/18One-command bootstrapdocs/Makefile
22/22Automated tests
11/11Lint / format configtox.ini
11/11Static type checkingdrf_spectacular/py.typed
0/10Reproducible environment
0/10Demonstrated agent practiceno data
0/8Automated maintenanceno data
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfiles
has_dockerfileno
typed_languageno
bootstrap_filesdocs/Makefile
has_devcontainerno
has_linter_configyes
typecheck_configsdrf_spectacular/py.typed
agent_commit_share
toolchain_manifests
dependency_bot_commit_share
Excluded from scoring (no data or not applicable): Demonstrated agent practice, Automated maintenance. Remaining weights renormalized.
How it's scored
27/45Type-checkable codePython with type-check config (drf_spectacular/py.typed)
53.9/55Manageable file sizes2/100 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes136,307
source_files_sampled100
oversized_source_files2

Key facts

2,847GitHub stars
100contributors
94commits, last 12 months
12days since last push
12releases
1bus factor
174open issues
PyPIpackage ecosystems

More detail

OpenSSF Scorecard 4.8 / 10
4.8aggregate

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-07-18 13:14 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
8CI-Tests8 out of 10 merged PRs checked by a CI test -- score normalized to 8
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2Code-ReviewFound 5/23 approved changesets -- score normalized to 2
10Contributorsproject has 33 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained25 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not 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
0Vulnerabilities43 existing vulnerabilities detected
Direct dependencies 7
RegistryPackageVersion constraintManifest
PyPIDjango>=2.2pyproject.toml
PyPIdjangorestframework>=3.10.3pyproject.toml
PyPIuritemplate>=2.0.0pyproject.toml
PyPIPyYAML>=5.1pyproject.toml
PyPIjsonschema>=2.6.0pyproject.toml
PyPIinflection>=0.3.1pyproject.toml
PyPItyping-extensionspyproject.toml
All dependencies 39

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

RegistryPackageVersionRelation
PyPIdjangodirect
PyPIdjango5.2.15direct
PyPIdjangorestframeworkdirect
PyPIdjangorestframework3.17.1direct
PyPIinflectiondirect
PyPIjsonschemadirect
PyPIpyyamldirect
PyPItyping-extensionsdirect
PyPIuritemplatedirect
PyPIbuildindirect
PyPIdj-rest-authindirect
PyPIdjango-allauthindirect
PyPIdjango-filterindirect
PyPIdjango-oauth-toolkitindirect
PyPIdjango-polymorphicindirect
PyPIdjango-rest-knoxindirect
PyPIdjango-rest-polymorphicindirect
PyPIdjango-stubs5.2.7indirect
PyPIdjangorestframework-camel-caseindirect
PyPIdjangorestframework-dataclassesindirect
PyPIdjangorestframework-gisindirect
PyPIdjangorestframework-recursiveindirect
PyPIdjangorestframework-simplejwtindirect
PyPIdjangorestframework-stubs3.16.5indirect
PyPIdrf-jwtindirect
PyPIdrf-nested-routersindirect
PyPIdrf-spectacular-sidecarindirect
PyPIflake8indirect
PyPIfuroindirect
PyPIisort7.0.0indirect
PyPImypy1.18.2indirect
PyPIpsycopg2-binaryindirect
PyPIpydanticindirect
PyPIpytestindirect
PyPIpytest-covindirect
PyPIpytest-djangoindirect
PyPIsetuptoolsindirect
PyPIsphinxindirect
PyPItwineindirect
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.12.0 — full methodology · metrics wiki.

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