skip to navigation
skip to content

function-pipe 1.0.3

Tools for extended function composition and pipelines

The function-pipe Python module defines the class FunctionNode (FN) and decorators to create the derived-class PipeNode (PN). FNs are wrappers of callables that permit returning new FNs after applying operators, composing callables, or partialing. This supports the flexible combination of functions in a lazy and declarative manner.

PipeNodes (PNs) are FNs prepared for extended function composition or dataflow programming. PNs, through a decorator-provided, two-stage calling mechanism, expose to wrapped functions both predecessor output and a common initial input. Rather than strictly linear pipelines, sequences of PNs can be stored and reused; PNs can be provided as arguments to other PNs; and results from PNs can be stored for later recall in the same pipeline.




File Type Py Version Uploaded on Size
function-pipe-1.0.3.tar.gz (md5) Source 2017-01-18 6KB
function_pipe-1.0.3-py3-none-any.whl (md5) Python Wheel py3 2017-01-18 7KB