quantifiedcode/python-anti-patterns resource
An open collection of Python anti-patterns and worst practices. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4422
- days_rel: n/a
- days_push: 1855
- n_releases_24m: 0
Adoption not part of the score
1733 stars · 251 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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
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
Facets
learning-resource · maturity maintenance
documentation developer-tools tutorials developer-tools education python cross-platform python-anti-patterns best-practices code-quality open-book django creative-commons python
2 sources
- readme: https://github.com/quantifiedcode/python-anti-patterns · fetched 2026-08-28 · 60495fc7105f
- homepage: https://quantifiedcode.github.io/python-anti-patterns · fetched 2026-08-29 · 2857b1d2e220
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| quantifiedcode/python-anti-patterns | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="quantifiedcode/python-anti-patterns")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem