An open API service indexing awesome lists of open source software.

https://github.com/pythonhacker/designpatterns

Object-oriented design patterns implemented in the Pythonic way
https://github.com/pythonhacker/designpatterns

Last synced: over 1 year ago
JSON representation

Object-oriented design patterns implemented in the Pythonic way

Awesome Lists containing this project

README

          

## A Pythonic approach to Design Patterns

This repo hosts a set of implementations of G4 design-patterns in idiomatic Python.

1. Week #1 [08-05-2017] - Four variants of the singleton pattern including a shared-memory singleton.
2. Week #2 [15-05-2017] - The Prototype pattern - simple, meta-class based, prototype-factory & prototype+singleton combo.
3. Week #3 [13-06-2017] - The builder pattern - An example demonstrating building different versions of houses with different combinations of rooms, windows and porches.