states (pypi): state machine for python classes
Keywords: statemachine|states|transitions|nested|callbacks|condition|contextmanager|performance|easy-to-use|memory-efficient