Welcome! You'll find here a collection of Python examples covering classic design patterns.
For more details, go here and support Alexander Shvets aka @neochief for his wonderful work: https://refactoring.guru/
This resource aims to help you understand and apply proven solutions in your own projects.
Each design pattern includes:
- The purpose, pros and cons of the pattern in general
- Conceptual examples: Focused on explaining the pattern’s structure, with helpful comments.
An additional pattern is added : Model Registry pattern as minimal working example, the purpose is to understand the usage
And bonus some solid principles minimal examples.
- Ruff tool for code linter and auto formatter written in Rust