# HG changeset patch # User Jeff Hammel # Date 1365330588 25200 # Node ID 6aafed869664cd33a126d311900a8c053ec669d3 # Parent 67cfeffa0d90d5b0a1d12cf80d84d1a1f8378d9d notes to self diff -r 67cfeffa0d90 -r 6aafed869664 README.txt --- a/README.txt Sun Apr 07 03:07:39 2013 -0700 +++ b/README.txt Sun Apr 07 03:29:48 2013 -0700 @@ -3,9 +3,29 @@ python workflow engine via directed graph +As risen from the stillborn ashes: +http://k0s.org/mozilla/hg/MozbaseWorkflow/ + +Links +----- + +Python packages: + +* https://pypi.python.org/pypi/finite + Yet another finite state automaton + +* https://pypi.python.org/pypi/fluidity-sm + State machine implementation for Python objects. + +* https://pypi.python.org/pypi/fysom + pYthOn Finite State Machine + + +Potential Uses +-------------- + +* dependency somethin somethin' + ---- Jeff Hammel - - - diff -r 67cfeffa0d90 -r 6aafed869664 intentmademanifest/api.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/intentmademanifest/api.py Sun Apr 07 03:29:48 2013 -0700 @@ -0,0 +1,25 @@ +""" +API +""" +# TODO: probably to workflow.py, state.py, transition.py + +""" +Example usage [STUB]: + +class MyWorkflow(Workflow): + def __init__(self, **kwargs): + Workflow.__init__(self, **kwargs) +""" + +class Workflow(object): + """DG of all workflow""" + + def __init__(self, initial_state=None): + """ + - initial_state: if settable + """ + + def state(self): + """ + current state + """