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

https://github.com/bberkay/design-patterns-with-python

Design Patterns with Python studies to practice
https://github.com/bberkay/design-patterns-with-python

design-patterns oop python

Last synced: about 1 month ago
JSON representation

Design Patterns with Python studies to practice

Awesome Lists containing this project

README

        

# Design Patterns with Python

The main purpose is to practice.

## Creational
1. [Singleton](https://github.com/bberkay/design-patterns-and-solid/blob/main/creational/singleton.py)
2. [Factory Method](https://github.com/bberkay/design-patterns-and-solid/blob/main/creational/factory_method.py)
3. [Abstract Factory](https://github.com/bberkay/design-patterns-and-solid/blob/main/creational/abstract_factory.py)
4. [Builder](https://github.com/bberkay/design-patterns-and-solid/blob/main/creational/builder.py)
5. [Prototype](https://github.com/bberkay/design-patterns-and-solid/blob/main/creational/prototype.py)

## Structural
1. [Adapter](https://github.com/bberkay/design-patterns-and-solid/blob/main/structural/adapter.py)
2. [Bridge](https://github.com/bberkay/design-patterns-with-python/blob/main/structural/bridge.py)
3. [Composite](https://github.com/bberkay/design-patterns-with-python/blob/main/structural/composite.py)
4. [Decorator](https://github.com/bberkay/design-patterns-with-python/blob/main/structural/decorator.py)
5. [Facade](https://github.com/bberkay/design-patterns-with-python/blob/main/structural/facade.py)
6. [Flyweight](https://github.com/bberkay/design-patterns-with-python/blob/main/structural/flyweight.py)
7. [Proxy](https://github.com/bberkay/design-patterns-with-python/blob/main/structural/proxy.py)

## Behavioral
1. [Chain Of Responsibility](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/chain_of_responsibility.py)
2. [Command](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/command.py)
3. [Iterator](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/iterator.py)
4. [Mediator](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/mediator.py)
5. [Memento](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/memento.py)
6. [Observer](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/observer.py)
7. [State](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/state.py)
8. [Strategy](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/strategy.py)
9. [Template Method](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/template_method.py)
10. [Visitor](https://github.com/bberkay/design-patterns-with-python/blob/main/behavioral/visitor.py)