PyFlow is a small module capable of making workflows easy. Workflows are defined in a json format that is easy to read and the code is put in state classes that can be defined elsewhere.
For now the easiest way to install PyFlow is to clone the source and run pip install. PyFlow might be added to pypi at a later stage to make it a bit easer.
I have provided an example in the example dir. It is quite straight forward and can be run by the following command:
sven@GLaDOS ~/downloads/PyFlow> python example
It will output gotta love this magic
if it reaches the doMagic state and as well as the success value in the last state.