Implementing stateful objects or state machines in Python - Jones, Brian (Verfasser); Beazley, David (O'Reilly Media, Inc., 2016)