thepipe.core
¶
The core of thepipe framework.
Module Contents¶
-
class
thepipe.core.
Blob
(*args, **kwargs)[source]¶ Bases:
collections.OrderedDict
A simple (ordered) dict with a fancy name. This should hold the data.
-
class
thepipe.core.
Module
(name=None, **parameters)[source]¶ The module which can be attached to the pipeline
-
class
thepipe.core.
Pipeline
(blob=None, timeit=False, configfile=None, stats_limit=100000)[source]¶ The holy pipeline which holds everything together.
If initialised with timeit=True, all modules will be monitored, otherwise only the overall statistics and modules with timeit=True will be shown.
- Parameters
- timeit: bool, optional [default=False]
Display time profiling statistics for the pipeline?
- configfile: str, optional [default=’pipeline.toml’]
Path to a configuration file (TOML format) which contains parameters for attached modules.
- stats_limit: int, optional [default=100000]
The number of cycles to keep track of when using timeit=True