Modules and design patterns (mlpy.modules)

This module contains various modules and design patterns.


UniqueModule Class ensuring each instance has a unique name.
Module Base module class from which most modules inherit from.


Borg Class ensuring that all instances share the same state.
Observable The observable base class.
Listener The listener interface.

Meta classes

Singleton Metaclass ensuring only one instance of the class exists.
RegistryInterface Metaclass registering all subclasses derived from a given class.