State Machines A simple implementation of a state machine with an efficient step lives in state_machine.py. The remaining files contain implementations of various state machines.