a script to run alea dataflow and scripts

core.alea.function(factory)[source]

Return a function which is evaluated like a python function.

factory is a NodeFactory.

core.alea.get_intput_callback(option, opt_str, value, parser)[source]

todo

core.alea.get_node(component, inputs, pm=None)[source]

retrieve a node from its component name and inputs

Parameters:
  • component -- todo
  • inputs -- todo
  • pm -- package manager
core.alea.load_package_manager(*args)[source]

Return the package manager

Parameters:
  • pkg_id -- package id
  • node_id -- node id
Returns:

package manager

core.alea.main()[source]

Parse options

core.alea.parse_component(name)[source]

Return (pkg_id, node_id) from name

core.alea.query(component, pm=None)[source]

show help of component

core.alea.run(component, inputs, pm=None, vtx_id=-1)[source]

Run component with inputs. can exit by exception.

If node_id is given, eval the dataflow from that node and return the result.

core.alea.run_and_display(component, inputs, gui=False, pm=None)[source]

run component with inputs

Parameters:
  • component -- todo
  • inputs -- todo
  • gui (boolean (default is False)) -- todo
  • pm (package manager) -- package manager
core.alea.start_qt(factory, node)[source]

Start Qt, and open widget of factory, node

Parameters:
  • factory -- todo
  • node -- todo

Previous topic

<no title>

Next topic

<no title>

This Page