{"adoption": {"forks": 304, "observed_at": "2026-08-28T04:05:42.418695+00:00", "stars": 1833}, "canonical_url": "https://ross.abutalabs.com/products/django-polymorphic", "card": {"archived": false, "artifact_type": "library", "description": "Improved Django model inheritance with automatic downcasting", "domain": ["web-development", "backend", "databases"], "enriched": true, "function": ["orm", "database"], "health_score": 99, "homepage": "https://django-polymorphic.readthedocs.io", "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["django-commons/django-polymorphic"], "name": "django-commons/django-polymorphic", "platform": ["python"], "pushed_at": "2026-08-17T21:35:48+00:00", "repo": "django-commons/django-polymorphic", "stars": 1833, "tags": ["django", "model-inheritance", "polymorphism", "downcasting", "django-admin", "django-formsets", "web-server"], "topics": ["django", "django-orm", "django-admin", "django-formsets", "object-oriented", "oop", "polymorphism"], "urls": [], "use_cases": ["query a base Django model and get subclass instances back", "implement polymorphic model inheritance in Django", "manage inherited models in the Django admin", "build formsets for Django model hierarchies", "avoid manual downcasting of Django model query results"], "what_it_is": "A Django library providing seamless polymorphic model inheritance with automatic downcasting, so queries on a base model return instances of the correct subclass. It integrates with the Django ORM, admin, and formsets.", "when_to_avoid": ["you don't use Django or its ORM", "you need database-level table inheritance rather than ORM-level downcasting", "query performance is critical, since polymorphic queries add joins and overhead"], "when_to_choose": ["you use Django's ORM and need inherited models returned as their concrete classes", "you want polymorphic models integrated with Django admin and formsets", "you need a mature, well-tested solution for Django model inheritance"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/django-polymorphic", "repo": "django-commons/django-polymorphic", "role": "main", "score": 97}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:42.418695+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:18:37.923028+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1b19d9cd703fd530cc19ec5bcd196e1cd8ddaaa0461e402ba6caaaee0ccb9ea9", "fetched_at": "2026-08-28T04:05:42.418695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django-commons/django-polymorphic"}, {"content_hash": "856d594a2dc16d3bd78af1f56a86b9f1ab47823a33d0d896bb7b2a8f6c6bece9", "fetched_at": "2026-08-29T10:58:36.712089+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/django-polymorphic/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 95}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5681, "days_push": 16, "days_rel": 32, "gap_med": 3.0, "n_releases_24m": 31}, "score": 97, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}