Skip to content

added PyPattyrn to design patterns section.#725

Merged
vinta merged 5 commits into
vinta:masterfrom
tylerlaberge:master
Nov 18, 2016
Merged

added PyPattyrn to design patterns section.#725
vinta merged 5 commits into
vinta:masterfrom
tylerlaberge:master

Conversation

@tylerlaberge
Copy link
Copy Markdown
Contributor

@tylerlaberge tylerlaberge commented Sep 16, 2016

What is this Python project?

PyPattyrn is a python package aiming to make it easier and faster to implement design patterns into your own projects. Containing over 15 of the most common design patterns, you no longer have to write the same boilerplate code between all your projects when you wish to use a design pattern. This package captures that boilerplate code and makes it easy to use.

Example:

from pypattyrn.creational.singleton import Singleton

class DummyClass(object, metaclass=Singleton):
    ... 

DummyClass is now a Singleton.

What's the difference between this Python project and similar ones?

Every other design pattern repo I've found simply provides examples for how to implement design patterns in python. PyPattyrn is something you would actually import into your project to speed up development process because the boilerplate code necessary for the design pattern is already written and provided for you by the package. I have not found another package that does the same thing.

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.

Comment thread README.md Outdated
* [algorithms](https://github.com/nryoung/algorithms) - A module of algorithms for Python.
* [python-patterns](https://github.com/faif/python-patterns) - A collection of design patterns in Python.
* [sortedcontainers](http://www.grantjenks.com/docs/sortedcontainers/) - Fast, pure-Python implementation of SortedList, SortedDict, and SortedSet types.
* [PyPattyrn](https://github.com/tylerlaberge/PyPattyrn) - A simple yet effective library for implementing common design patterns.
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better if you make them in alphabetical order.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Sorry about that

@vinta vinta merged commit cdf934d into vinta:master Nov 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants