Skip to content

Releases: Alchemy-Meister/python-design-patterns

Dropped support for Python 3.6

31 Mar 16:16

Choose a tag to compare

Enabled annotations feature from future, which is only available from python 3.7 onwards.

Support for Python 3.9

27 Oct 21:47

Choose a tag to compare

  • improve exception readability by printing the message when casting exception to string

SubclassIdentifiable custom exceptions

02 Sep 11:31

Choose a tag to compare

SubclassIdentifiable exceptions:

  • raise UnhashableClassIdError instead of TypeError.
  • raise InvalidClassIdError instead of ValueError.

Custom class registration exception and Docstring

30 Aug 18:32

Choose a tag to compare

  • Raise UnidentifiableSubclassError when calling SubclassFactory constructor with an unidentifiable class.
  • Added docstring with numpydoc style.

Factory custom exception

18 Aug 19:42

Choose a tag to compare

  • Raise UnregisteredClassIdError when calling Factory.create with an unknown class id.

First Pypi release

18 Aug 14:17

Choose a tag to compare

  • Factory:
    • Implemented class id. registration based Factory.
    • Implemented automatic subclass hierarchy registration Factory based on Identifiable-like class/interface.
  • Observer:
    • Implemented publisher class.
    • Implemented event publisher class.
    • Implemented abstract subscriber class.
  • Singleton:
    • Implemented SingletonMeta metaclass.
    • Implemented Singleton class.