conflagrate

A framework for writing applications with control flow graphs


License
MIT
Install
pip install conflagrate==0.1.2

Documentation

🔥 Conflagrate

Build applications from control flow graphs, rather than the other way around.

  1. Define your application flow with a Graphviz diagram
  2. Write the code for each node as a decorated Python function
  3. Run

💾 Installation

From PyPI using pip:

pip install conflagrate

From source:

pip install . or python setup.py install

See the examples directory of the GitHub repository for sample code.

💻 Dependencies

conflagrate is built entirely in Python and only depends on external libraries for diagram parsing. Currently only Graphviz is supported:

  • pydot: for parsing the control flow graph