/design-patterns

Creational, structural, and behavioral patterns in Python.

Primary LanguagePythonMIT LicenseMIT

Design Patterns

Creational, structural, and behavioral patterns in Python.

Creational

  • Factory.
  • Abstract factory.
  • Singleton.
  • Builder
  • Prototype.

Structural

  • Decorator.
  • Proxy.
  • Adapter.
  • Composite.
  • Bridge.

Behavioral

  • Observer.
  • Visitor.
  • Iterator.
  • Strategy.
  • Chain of responsibility.