pasteur.module

pasteur.module#

Description

Contains the module definitions in Pasteur, the base classes all Pasteur modules extend from.

In Pasteur, all functionality is achieved through the use of modules. You should not interact with this module directly, but rather through its children.

Functions

get_module_dict(parent, modules)

Filters the list modules for modules which extend

get_module_dict_multiple(parent, modules)

Same as get_module_dict, except for that it returns a list.

Classes

Module()

A Pasteur module extends a base Module class (such as Datset) and defines a name.

ModuleClass(*args[, _from_factory])

Modules which need to be instantiated multiple times extend from ModuleClass and define a Factory to act as their module.

ModuleFactory(cls, *args[, name])

Some modules (such as transformers) require multiple instances in the system.