Finite State Machine for Python (based on Jake Gordon's javascript-state-machine)
Python
Latest commit ea93fa2 Aug 23, 2013 @oxplot Added other ports in README
Signed-off-by: Mansour Behabadi <mansour@oxplot.com>
Failed to load latest commit information.
.gitignore Initial commit Nov 7, 2011
README.md Added other ports in README Aug 23, 2013
fysom.py Changed the copyright notice with new name Jan 19, 2013

README.md

Better Versions

Unfortunately I don't get time to add unit tests or improve on this anymore (as I don't use it much if at all) but there are other forks of fysom that you should definitely check out:

  • Maximilien Riehl's smoothened fork with 100% test coverage and install scripts. He's also made it available through PyPi (easily installable using pip install fysom).

  • Bartosz Ptaszynski's beefed up version with per event+state callbacks and multiple destination event choices.

Other ports

Below is the list of other ports of this library:

Usage

See the pydoc in fysom.py