pyf.dataflow.core | PyF, flow-based python programming pyf.dataflow.core

pyf.dataflow.core

@author: Jonathan Schemoul <jonathan.schemoul@gmail.com @license: LGPL

Lazy flow lib based on ZFlow that was created by Jeremy Lowery and released as LGPL, more info at http://www.thensys.com/. @author: Jeremy Lowery

class pyf.dataflow.core.runner(comp, commands={}, handle_bypass=True)

Provides a run harness for a component.

buffer_empty(out_port, idx)

Are there any results for us to yield?

pass_value(value)

Provides a way to bypass completely the component and send data to the outports

yield_value(out_port, idx)

Provide the value for the given outport and out array index.