Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A collection of design patterns in python

branch: master

Minor pep8 changes. Most salient is that membership test should be 'x…

… not in y' whereas 'not x in y' was being used.
latest commit 1878a5310b
Jason Tyler jay-tyler authored April 20, 2014
Octocat-spinner-32 .gitignore Remove __pycache__ and add __pycache__ to .gitignore December 29, 2013
Octocat-spinner-32 3-tier.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 README.md Update README.md February 01, 2014
Octocat-spinner-32 abstract_factory.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 adapter.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 append_output.sh Don't repeat the ### OUTPUT ### line February 01, 2014
Octocat-spinner-32 borg.py Add output to bottom of scripts February 01, 2014
Octocat-spinner-32 bridge.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 builder.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 catalog.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 chain.py Minor pep8 changes. Most salient is that membership test should be 'x… April 20, 2014
Octocat-spinner-32 command.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 composite.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 decorator.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 facade.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 factory_method.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 flyweight.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 foo.txt Added foo.txt for command.py script. September 23, 2013
Octocat-spinner-32 graph_search.py Minor pep8 changes. Most salient is that membership test should be 'x… April 20, 2014
Octocat-spinner-32 iterator.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 mediator.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 memento.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 mvc.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 null.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 observer.py Minor pep8 changes. Most salient is that membership test should be 'x… April 20, 2014
Octocat-spinner-32 pool.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 prototype.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 proxy.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 publish_subscribe.py Minor pep8 changes. Most salient is that membership test should be 'x… April 20, 2014
Octocat-spinner-32 state.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 strategy.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
Octocat-spinner-32 template.py Add output to bottom of scripts February 01, 2014
Octocat-spinner-32 visitor.py Your code is too weak for PEP8. You lack DISCIPLINE March 19, 2014
README.md

python-patterns

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

When an implementation is added or modified, be sure to update this file and rerun append_output.sh to keep the output comments at the bottom up to date.

Current Patterns:

  • 3-tier
  • abstract_factory
  • adapter
  • borg
  • bridge
  • builder
  • catalog
  • chain
  • command
  • composite
  • decorator
  • facade
  • factory_method
  • flyweight
  • graph_search
  • iterator
  • mediator
  • memento
  • mvc
  • null
  • observer
  • pool
  • prototype
  • proxy
  • publish_subscribe
  • state
  • strategy
  • template
  • visitor
Something went wrong with that request. Please try again.