GreaterThan, LLC

PipeLayer Framework

v0.6.0

pipelayer.Pipeline(Filter)

Constructor:

  • __init__(steps, name)
    • steps: List[Union[Step, PipelineCallableT]]
      • Classes and Instances that derive from pipelayer.Filter and implement the run method
      • Classes that implement the pipelayer.Step protocol
      • Functions (instance/class/static/module) that have the following signature def func(data: Any, context: Any)
      • Anonymous functions (lambda) with two arguments that follow this pattern: my_func = lambda data, context: data
    • name: Optional[str]
      If not specified, the class name will be used.

Properties:

Events:

Methods:

pipelayer.Switch(Filter)

An implementation of a Switch statement as a pipeline filter

Constructor

Properties:

Events:

Methods:

pipelayer.Filter

The filter abstract class that raises events.

Constructor

Properties:

Events:

Events are lists of callables assigned after instantiation and are raised if the pipelayer.filter.raise_events decorator is applied to the implementation of the run method.

pipelayer.FilterEventArgs

pipelayer.Context

A abstract base class for runtime app data.

pipelayer.Manifest

The Manifest keeps a record of Pipeline and Filter activity.

pipelayer.util