{"adoption": {"forks": 251, "observed_at": "2026-08-28T04:05:28.927931+00:00", "stars": 1733}, "canonical_url": "https://ross.abutalabs.com/products/python-anti-patterns", "card": {"archived": false, "artifact_type": "learning-resource", "description": "An open collection of Python anti-patterns and worst practices.", "domain": ["tutorials", "developer-tools", "education"], "enriched": true, "function": ["documentation", "developer-tools"], "health_score": 20, "homepage": "https://quantifiedcode.github.io/python-anti-patterns", "language": "HTML", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["quantifiedcode/python-anti-patterns"], "name": "quantifiedcode/python-anti-patterns", "platform": ["python", "cross-platform"], "pushed_at": "2021-08-04T20:49:19+00:00", "repo": "quantifiedcode/python-anti-patterns", "stars": 1733, "tags": ["python-anti-patterns", "best-practices", "code-quality", "open-book", "django", "creative-commons", "python"], "topics": [], "urls": [], "use_cases": ["learn common Python mistakes to avoid", "improve code quality by studying worst practices", "find anti-patterns in Django projects", "teach Python best practices in a course", "reference anti-patterns while doing code review", "migrate legacy Python code to modern idioms"], "what_it_is": "An open-source book, 'The Little Book of Python Anti-Patterns', cataloging Python anti-patterns and worst practices with examples and solutions. It covers correctness, maintainability, readability, performance, security, and migration patterns for Python and frameworks like Django.", "when_to_avoid": ["you need a static analysis tool rather than reading material", "you need up-to-date coverage of modern Python 3.12+ idioms, as the book is no longer actively updated", "you need commercial-use rights, since content is CC BY-NC-SA licensed"], "when_to_choose": ["you want a free, example-driven reference of Python pitfalls", "you are teaching Python and want concrete bad-vs-good code examples", "you need guidance on migrating old Python or Django patterns"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/python-anti-patterns", "repo": "quantifiedcode/python-anti-patterns", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "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:28.927931+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.927931+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:31:27.941677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60495fc7105fbb2a79afc6c7e9d9f626d54bce350f65e813d94a681cb869fa18", "fetched_at": "2026-08-28T04:05:28.927931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/quantifiedcode/python-anti-patterns"}, {"content_hash": "2857b1d2e2207dfde3e8ec6f6b59e66f1311554d0448b242baba511e17f51554", "fetched_at": "2026-08-29T11:08:11.095971+00:00", "kind": "homepage", "missing": false, "url": "https://quantifiedcode.github.io/python-anti-patterns"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4422, "days_push": 1855, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}