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

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:


See the pydoc in