faif/python-patterns resource
A collection of design patterns/idioms in Python observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- 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: 5201
- days_rel: n/a
- days_push: 13
- n_releases_24m: 0
Adoption not part of the score
42946 stars · 6993 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A curated collection of classic design patterns and Python-specific idioms implemented as small, annotated Python examples. It covers creational, structural, and behavioral patterns with explanations of trade-offs.
Use cases
- learn how to implement the singleton or factory pattern in Python
- find Pythonic idioms for common design patterns
- study examples of builder, adapter, and decorator patterns
- reference for software design pattern implementations
- prepare for interviews about design patterns in Python
When to choose
- you want concise, runnable examples of design patterns in Python
- you are learning or teaching object-oriented design with Python
- you need a quick reference for pattern trade-offs
When to avoid
- you need a production-ready pattern library to import as a dependency
- you work in a language other than Python
- you need officially maintained, licensed code for commercial use (no license is provided)
Facets
learning-resource · maturity active
developer-tools documentation developer-tools tutorials programming-languages python design-patterns idioms python educational code-examples
1 source
- readme: https://github.com/faif/python-patterns · fetched 2026-08-28 · 0cb323148232
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| faif/python-patterns | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="faif/python-patterns")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem