Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-23 20:43 UTC

django-commons / django-polymorphic

Improved Django model inheritance with automatic downcasting

PythonCustom license★ 1,837 stars⑂ 305 forkssince Feb 2011View on GitHub ↗
KindLibraryNetwork servicehow this is determined

django-commons/django-polymorphic holds a health index of 96 out of 100, placing it in the Exceptional band. It scores highest on Engineering Quality (92/100) and lowest on AI Readiness (57/100). It was last updated 10 days ago. 2 contributors account for most of its recent work.

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

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

Ownership

Django CommonsOrganization · verified domain
418 followers46 public repossince Mar 2024

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPIdjango-polymorphic4.11.72,373,01970114 days agodjangodjango-admindjango-formsetsdjango-ormmodelpolymorphicpolymorphism

Metrics by category

Vitality

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

85Excellent · 21% of overall
How it's scored
28.8/36Push recency — last push 10 days ago
24.9/36Commit cadence — 36/52 weeks with commits
18/18Commit volume — 392 commits in the last year
10/10OpenSSF Scorecard: Maintained — 22 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year392
Share of human-authored commits0.74
Days since last push10
Weeks with commits in the last year36
How it's scored
27/27Ships releases — 32 releases published
27/36Release recency — latest release 114 days ago
27/27Release cadence — a release every ~20.7 days
8/10OpenSSF Scorecard: Signed-Releases — 5 out of the last 5 releases have a total of 5 signed artifacts.
Inputs used
Number of releases32
Latest release tagv4.11.7
Releases derived from version tagsno
Days since latest release114
Mean days between releases20.7

Community & Adoption

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

85Excellent · 17% of overall
How it's scored
52.9/60Stars — 1,837 stars
20.7/25Forks — 305 forks
8.1/15Watchers — 30 watchers
Inputs used
Forks305
Stars1,837
Watchers30
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
16.9/22.5License — license 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
README presentyes
License file presentyes
Badges in the README18
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the READMEapi.securityscorecards.dev, badge.fury.io, github.com, readthedocs.org, shields.io
Pull request template presentno
How it's scored
80/80Monthly downloads — 2,373,019 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesdjango-polymorphic
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads2,373,019
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?

80Excellent · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
14.5/22.5Commit distribution — top contributor authored 35% of commits
13.5/13.5Contributor breadth — 98 contributors
10/10OpenSSF Scorecard: Contributors — project has 51 contributing companies or organizations
Inputs used
Bus factor2
Contributors sampled98
Share of commits by the top contributor0.354
How it's scored
39.9/42Issue resolution — 95% of issues closed
24.3/30PR acceptance — 391/483 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
3/15OpenSSF Scorecard: Code-Review — Found 2/7 approved changesets -- score normalized to 2
Inputs used
Merged pull requests391
Open issues19
Closed issues372
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days0
Pull requests decided in the last 30 days0
Share of issues closed0.951
Pull requests closed without merging92
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
18.9/25Owner reach — 418 followers of django-commons
17.6/25Track record — 46 public repos, account ~2 yr old
Inputs used
Followers418
Owner account typeOrganization
Verified domainyes
Owner accountdjango-commons
Public repositories46
Owner account age in days996

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
35/35Publish recency — latest publish 114 days ago
20/20Version history — 70 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesdjango-polymorphic
Package ecosystemspypi
Any package deprecated or yankedno
Days since latest package publish114

Engineering Quality

Are baseline engineering and documentation practices in place?

92Excellent · 19% of overall
How it's scored
24/24CI workflows — 7 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 — 19 out of 19 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

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://django-polymorphic.readthedocs.io
10/10Repository description
10/10Topics — 7 topics
0/10Wiki
Inputs used
Repository topicsdjango, django-orm, django-admin, django-formsets, object-oriented, oop, polymorphism
Wiki enabledno
Repository homepagehttps://django-polymorphic.readthedocs.io
Documentation sitehttps://django-polymorphic.readthedocs.io
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

78Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
3.8/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 19 out of 19 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
1.5/7.5Code-Review — Found 2/7 approved changesets -- score normalized to 2
2.5/2.5Contributors — project has 51 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.2/2.5License — license file detected
7.5/7.5Maintained — 22 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
4.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 9
3.5/5SAST — SAST tool is not run on all commits -- score normalized to 7
5/5Security-Policy — security policy file detected
6/7.5Signed-Releases — 5 out of the last 5 releases have a total of 5 signed artifacts.
7.5/7.5Token-Permissions — GitHub workflow tokens follow principle of least privilege
0/7.5Vulnerabilities — 30 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated18
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive0
OpenSSF Scorecard aggregate score7.3

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
25/25Indirect dependencies free of known advisories — no indirect dependency carries a known advisory
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages0
Packages affected by advisories0
Packages assessed4
Packages not assessed0
Affected packages by severitynone
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the pypi:django-polymorphic@4.11.7 runtime dependency closure — what installing the published package pulls in — 4 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.

57Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
9.4/40Legible commit history — 13 of 74 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.176
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
18/18One-command bootstrap — justfile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
11/11Static type checking — src/polymorphic/py.typed
10/10Reproducible environment — lockfile
2/10Demonstrated agent practice — 1 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 26 of the last 100 commits are automated dependency updates
9/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 9
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesuv.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesjustfile
Dev container config presentno
Linter config presentyes
Static type-check config filessrc/polymorphic/py.typed
Share of commits authored by or credited to coding agents0.01
Toolchain manifests—
Share of commits that are automated dependency updates0.26
How it's scored
27/45Type-checkable code — Python with type-check config (src/polymorphic/py.typed)
53.7/55Manageable file sizes — 4/171 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)108,844
Source files sampled171
Oversized source files4
How it's scored
0/40API schema (OpenAPI/GraphQL/proto)
0/20MCP server
40/40Runnable examples — example, examples
Inputs used
Runnable example directoriesexample, examples
MCP server signal presentno
API schema files—
Software kinds for which an interface is expectednetwork-service

Key facts

1,837GitHub stars
98contributors
392commits, last 12 months
10days since last push
32releases
2bus factor
19open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

Star and fork history 0 ★ / 305 ⇿
0Stars
305Forks
32Releases

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.

05010015020025030028362010-012018-052026-09
Major 1Minor 11Patch 19

Each point covers 16 days.

OpenSSF Scorecard 7.3 / 10
7.3aggregate

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-11-23 20:43 UTC

10Binary-Artifactsno binaries found in the repo
5Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests19 out of 19 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/7 approved changesets -- score normalized to 2
10Contributorsproject has 51 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
9Licenselicense file detected
10Maintained22 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
9Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 9
7SASTSAST tool is not run on all commits -- score normalized to 7
10Security-Policysecurity policy file detected
8Signed-Releases5 out of the last 5 releases have a total of 5 signed artifacts.
10Token-PermissionsGitHub workflow tokens follow principle of least privilege
0Vulnerabilities30 existing vulnerabilities detected
Direct dependencies 2
RegistryPackageVersion constraintManifest
PyPIDjango>= 4.2pyproject.toml
PyPItyping_extensions>= 4.12.0pyproject.toml
All dependencies 135

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

RegistryPackageVersionRelation
PyPIdjango—direct
PyPIdjango5.2.17direct
PyPIdjango6.1.1direct
PyPItyping-extensions4.16.0direct
PyPIaccessible-pygments0.0.5indirect
PyPIalabaster1.0.0indirect
PyPIanyio4.14.2indirect
PyPIasgiref3.12.1indirect
PyPIast-serialize0.9.0indirect
PyPIasttokens3.0.2indirect
PyPIattrs26.1.0indirect
PyPIbabel2.18.0indirect
PyPIbandit1.9.4indirect
PyPIbeautifulsoup44.15.0indirect
PyPIbeautifulsoup44.6.3indirect
PyPIcertifi2026.10.18indirect
PyPIcffi2.1.1indirect
PyPIcfgv3.5.0indirect
PyPIcharset-normalizer3.5.1indirect
PyPIclick8.5.0indirect
PyPIcolorama0.4.6indirect
PyPIcomrak0.0.16indirect
PyPIcoverage7.16.0indirect
PyPIcryptography50.0.1indirect
PyPIdecorator5.3.1indirect
PyPIdistlib0.4.3indirect
PyPIdjango-extra-views—indirect
PyPIdjango-extra-views0.16.0indirect
PyPIdjango-filter26.1indirect
PyPIdjango-guardian3.5.0indirect
PyPIdjango-polymorphic4.11.7indirect
PyPIdjango-reversion6.3.0indirect
PyPIdjango-stubs6.1.0indirect
PyPIdjango-stubs-ext6.1.0indirect
PyPIdjango-test-migrations1.6.0indirect
PyPIdjangorestframework3.18.2indirect
PyPIdjangorestframework-stubs3.18.1indirect
PyPIdoc82.0.0indirect
PyPIdocutils0.21.2indirect
PyPIexecuting2.2.1indirect
PyPIfilelock4.2.1indirect
PyPIfuro2025.12.19indirect
PyPIgreenlet3.5.5indirect
PyPIh110.16.0indirect
PyPIidentify2.6.19indirect
PyPIidna3.19indirect
PyPIimagesize2.0.1indirect
PyPIiniconfig2.3.0indirect
PyPIipdb0.13.13indirect
PyPIipython9.17.1indirect
PyPIipython-pygments-lexers1.1.1indirect
PyPIjedi0.20.0indirect
PyPIjinja23.1.6indirect
PyPIjschema-to-python1.2.3indirect
PyPIjsonpickle4.1.2indirect
PyPIlibrt0.15.0indirect
PyPImarkdown-it-py4.2.0indirect
PyPImarkupsafe3.0.3indirect
PyPImatplotlib-inline0.2.2indirect
PyPImdurl0.1.2indirect
PyPImypy2.3.1indirect
PyPImypy-extensions1.1.0indirect
PyPImysqlclient1.4.3indirect
PyPImysqlclient2.2.8indirect
PyPInh30.3.7indirect
PyPInodeenv1.10.0indirect
PyPIoracledb4.0.2indirect
PyPIpackaging26.3indirect
PyPIparso0.8.7indirect
PyPIpathspec1.1.1indirect
PyPIpbr7.0.3indirect
PyPIpexpect4.9.0indirect
PyPIplatformdirs4.11.7indirect
PyPIplaywright1.62.0indirect
PyPIpluggy1.6.0indirect
PyPIpprintpp0.4.0indirect
PyPIpre-commit4.6.2indirect
PyPIprompt-toolkit3.0.53indirect
PyPIpsutil7.2.2indirect
PyPIpsycopg3.3.5indirect
PyPIpsycopg22.9.12indirect
PyPIptyprocess0.7.0indirect
PyPIpure-eval0.2.3indirect
PyPIpycparser3.0indirect
PyPIpyee13.0.1indirect
PyPIpygments2.21.0indirect
PyPIpyright1.1.411indirect
PyPIpytest9.1.1indirect
PyPIpytest-base-url2.1.0indirect
PyPIpytest-cov7.1.0indirect
PyPIpytest-django4.14.0indirect
PyPIpytest-mock3.15.1indirect
PyPIpytest-playwright0.9.0indirect
PyPIpython-discovery1.6.4indirect
PyPIpython-slugify8.0.4indirect
PyPIpyyaml6.0.3indirect
PyPIreadme-renderer46.0indirect
PyPIrequests2.34.2indirect
PyPIrestructuredtext-lint2.0.2indirect
PyPIrich15.0.0indirect
PyPIroman-numerals4.1.0indirect
PyPIruff0.16.5indirect
PyPIsarif-om1.0.4indirect
PyPIsetuptools84.1.0indirect
PyPIsnowballstemmer3.1.1indirect
PyPIsoupsieve4.0indirect
PyPIsphinx9.0.4indirect
PyPIsphinx9.1.0indirect
PyPIsphinx-autobuild2025.8.25indirect
PyPIsphinx-basic-ng1.0.0b2indirect
PyPIsphinx-rtd-theme—indirect
PyPIsphinxcontrib-applehelp2.0.0indirect
PyPIsphinxcontrib-devhelp2.0.0indirect
PyPIsphinxcontrib-django—indirect
PyPIsphinxcontrib-django2.5indirect
PyPIsphinxcontrib-htmlhelp2.1.0indirect
PyPIsphinxcontrib-jsmath1.0.1indirect
PyPIsphinxcontrib-qthelp2.0.0indirect
PyPIsphinxcontrib-serializinghtml2.0.0indirect
PyPIsqlparse0.6.0indirect
PyPIstack-data0.6.3indirect
PyPIstarlette1.6.0indirect
PyPIstevedore5.9.1indirect
PyPItext-unidecode1.3indirect
PyPItomli2.4.1indirect
PyPItomlkit0.15.1indirect
PyPItraitlets5.16.1indirect
PyPItypes-pyyaml6.0.12.20260815indirect
PyPItzdata2026.3indirect
PyPIurllib32.8.0indirect
PyPIuvicorn0.52.4indirect
PyPIvirtualenv21.14.13indirect
PyPIwatchfiles1.2.0indirect
PyPIwcwidth0.8.3indirect
PyPIwebsockets17.1indirect
Dependency advisories 0

Installing pypi:django-polymorphic@4.11.7 pulls in 4 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.34.0 — full methodology · metrics wiki.

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