Design Patterns in Modern Python
Apply modern Creational, Structural, and Behavioral patterns tailored for idiomatic Python 3.
Apply modern Creational, Structural, and Behavioral patterns tailored for idiomatic Python 3.
Learn dataclasses, protocols, dependency injection, factory methods, and strategy patterns to write maintainable Python codebases that scale cleanly.
2 Modules · 4 Lessons · 175 Minutes Total
Build flexible object creation and structural adapter abstractions.
Decouple caller logic from concrete implementations using structural typing.
Wrap external client libraries into uniform application interfaces.
Manage object interactions and behavioral delegation cleanly.
Replace nested `if/elif` blocks with pluggable strategy classes.
Implement lightweight event dispatchers and undoable command objects.
Design an extensible payment processing library supporting multiple gateways using Factory, Strategy, and Observer design patterns.
Course Author & Industry Expert
Nigel Thorne is a Principal Software Architect and author on software craft and Python design patterns.
No. Python's first-class functions and dynamic type system simplify many classic GoF patterns.