Synchronous state machine framework for event driven systems
# Mortise - A python state machine framework
Mortise is a synchronous state machine library for event based systems.
Synchronous state-machine event handling
No external dependencies
Composable / Reusable state support via pushdown automata
State timeout and retry limit support
Directed exception handling + state transitions on exception
State machine visualization (requires graphviz)
Python >= 3.4
GraphViz (Optional for state machine visualization)
See the examples folder.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.