Skip to content
Browse the library
faif / python-patterns

Python Patterns

A collection of design patterns and idioms in Python

Who it is for

Python programmers comparing design patterns and idioms for an existing design problem.

What you can do with it

Study one implementation and explain the tradeoff it makes before adapting the idea to your own code.

Before you start

A pattern is a design option, not a requirement to add abstraction. The README asks readers to consider why a pattern is useful.

Prerequisites

Know enough Python to read classes, functions, and the specific example you select.

Costs and external services

Check the original repository and individual files for reuse terms; the catalog currently labels this entry No License.

Try this first

Choose one pattern that matches a real problem and compare its example with a simpler implementation.

Source and context

These selection notes describe the resource's scope. Check the source for current details.

Selection notes updated . How selection notes are reviewed.

Choose your next step

Keep exploring

Explore the category →