Finite State Machine Network library for Python