A collection of design patterns and idioms in Python.

Jonathan Reem 38637e914c Rejiggered the classes to actually use decorator syntax and commented an explanation on how the @ syntax works. Also wrapped the executing code in a main() function. il y a 12 ans
__pycache__ 864f73f43c Some minor changes il y a 12 ans
3-tier.py 6b920156b9 Added a main() function. il y a 12 ans
README.md 909cbb9beb Initial commit il y a 13 ans
abstract_factory.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
adapter.py 06a7f83254 Removed old string formatting. il y a 12 ans
borg.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
bridge.py d671429259 Fixed PEP-8 discrepancy in Bridge pattern il y a 12 ans
builder.py 3003f6bbf6 Fixed string formatting. il y a 12 ans
chain.py 0e0f9c57c5 Split delegation from __init__ in Client. il y a 12 ans
command.py 77728fd5f7 Wrapped main behavior in a main() function. il y a 12 ans
composite.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
decorator.py 38637e914c Rejiggered the classes to actually use decorator syntax and commented an explanation on how the @ syntax works. Also wrapped the executing code in a main() function. il y a 12 ans
facade.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
factory_method.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
flyweight.py 3656aa0f90 Removed trailing spaces on numerous lines. il y a 12 ans
foo.txt 3511c20bf6 Added foo.txt for command.py script. il y a 12 ans
graph_search.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
iterator.py 06960de5e3 Minor pep8 correction of the docstring. il y a 12 ans
mediator.py 327e51c9c3 Removed redundant parentheses. il y a 12 ans
memento.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
mvc.py 88fd2544d6 added two more patterns, 3-tier and mvc il y a 12 ans
null.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
observer.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
pool.py 6b3735078f Renamed element 'type' to 'Type'. il y a 12 ans
prototype.py a444aab205 Fixed PEP-8 discrepancy in Prototype pattern il y a 12 ans
proxy.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans
state.py 916b996ff1 Few minor changes. il y a 12 ans
strategy.py 40a7afc427 Minor pep8 correction of the docstring. il y a 12 ans
template.py 4007ac7d7c Minor pep8 correction of the docstring. il y a 12 ans
visitor.py 533c8680de Fixed a number of pep8 violations. il y a 12 ans

README.md

python-patterns

A collection of design patterns implemented (by other people) in python