diff --git a/README.md b/README.md new file mode 100644 index 0000000..723d9c2 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# Design Patterns in Python Tutorial + +## Contents + +This GitHub repository contains the source code and materials for the "Design Patterns in Python" tutorial. The tutorial covers various design patterns with a focus on Python, and you can view the accompanying video tutorials on [Mongard](https://www.mongard.ir/courses/python-design-patterns/). + +Below is an overview of the files in this repository: + +1. **/src:** This directory contains the source code for each design pattern discussed in the tutorial. + +2. **README.md:** You are currently viewing the README file, providing an overview of the repository and its contents. + +Feel free to use, modify, or share the content from this repository. Happy learning! \ No newline at end of file diff --git a/abstract factory.py b/src/abstract factory.py similarity index 100% rename from abstract factory.py rename to src/abstract factory.py diff --git a/adapter.py b/src/adapter.py similarity index 100% rename from adapter.py rename to src/adapter.py diff --git a/bridge.py b/src/bridge.py similarity index 100% rename from bridge.py rename to src/bridge.py diff --git a/builder.py b/src/builder.py similarity index 100% rename from builder.py rename to src/builder.py diff --git a/chain of responsibility.py b/src/chain of responsibility.py similarity index 100% rename from chain of responsibility.py rename to src/chain of responsibility.py diff --git a/command.py b/src/command.py similarity index 100% rename from command.py rename to src/command.py diff --git a/composite.py b/src/composite.py similarity index 100% rename from composite.py rename to src/composite.py diff --git a/decorator.py b/src/decorator.py similarity index 100% rename from decorator.py rename to src/decorator.py diff --git a/facade.py b/src/facade.py similarity index 100% rename from facade.py rename to src/facade.py diff --git a/factory.py b/src/factory.py similarity index 100% rename from factory.py rename to src/factory.py diff --git a/mediator.py b/src/mediator.py similarity index 100% rename from mediator.py rename to src/mediator.py diff --git a/memento.py b/src/memento.py similarity index 100% rename from memento.py rename to src/memento.py diff --git a/observer.py b/src/observer.py similarity index 100% rename from observer.py rename to src/observer.py diff --git a/prototype.py b/src/prototype.py similarity index 100% rename from prototype.py rename to src/prototype.py diff --git a/proxy.py b/src/proxy.py similarity index 100% rename from proxy.py rename to src/proxy.py diff --git a/singleton.py b/src/singleton.py similarity index 100% rename from singleton.py rename to src/singleton.py diff --git a/state.py b/src/state.py similarity index 100% rename from state.py rename to src/state.py diff --git a/strategy.py b/src/strategy.py similarity index 100% rename from strategy.py rename to src/strategy.py diff --git a/template method.py b/src/template method.py similarity index 100% rename from template method.py rename to src/template method.py diff --git a/visitor.py b/src/visitor.py similarity index 100% rename from visitor.py rename to src/visitor.py