Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 703 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 703 Bytes

Design Patterns in Python

alt text

Repo to study the book Learning Python Design Patterns and http://www.newthinktank.com/videos/design-patterns-tutorial/ playlist. Each pattern contains an generic, an advanced and a real use example if necessary.

Every pattern was implemented and refactored using PEP 257 docstring guidelines and PEP 8 code guidelines.

Behavioral Patterns

  • Command
  • Observer
  • Template

Creational Patterns

  • Factory
    • Abstract Factory
    • Factory Method
    • Simple Factory
  • Singleton
    • Singleton Using Lazy Instantiation
    • Monostate Singleton
    • Singleton using Metaclass

Structural Patterns

  • Facade
  • Proxy

Composed Patterns

  • MVC