Friendly state machines for python.
Go to file
gecong1973 0a2eff6a20 Replace six.iteritems() with .items()
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can use
dict.items instead, as it will return iterators
in PY3 as well. And dict.items/keys will more
readable. 2.In py2, the performance about list
should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Change-Id: Id4355f3f96c830e3116ef6f6e0a17d2ed0dcd1f4
2016-11-28 10:43:14 +08:00
automaton Replace six.iteritems() with .items() 2016-11-28 10:43:14 +08:00
doc/source Add a state-space machine building example 2016-02-02 14:50:53 -08:00
releasenotes Fix release notes gate failure 2016-11-09 14:31:53 +08:00
.coveragerc Added code coverage section to tox 2015-10-05 17:10:31 -04:00
.gitignore Added code coverage section to tox 2015-10-05 17:10:31 -04:00
.gitreview Revamp repo to match openstack repos 2015-06-05 17:18:17 -07:00
.testr.conf Revamp repo to match openstack repos 2015-06-05 17:18:17 -07:00
CONTRIBUTING.rst Add code repo, mail list, and IRC to CONTRIBUTING 2015-06-24 20:34:47 +00:00
HACKING.rst Revamp repo to match openstack repos 2015-06-05 17:18:17 -07:00
LICENSE Initial commit 2014-12-02 22:38:57 -08:00
README.rst Enhance the README 2015-09-24 21:39:13 +00:00
babel.cfg Revamp repo to match openstack repos 2015-06-05 17:18:17 -07:00
requirements.txt Updated from global requirements 2016-11-16 04:43:24 +00:00
setup.cfg Changed the home-page link 2016-10-17 15:37:27 +05:30
setup.py Updated from global requirements 2015-09-17 12:10:54 +00:00
test-requirements.txt Updated from global requirements 2016-11-05 20:27:46 +00:00
tox.ini Add reno for release notes management 2016-11-03 18:54:30 -04:00

README.rst

Automaton

Latest Version

Downloads

Friendly state machines for python. The goal of this library is to provide well documented state machine classes and associated utilities. The state machine pattern (or the implemented variation there-of) is a commonly used pattern and has a multitude of various usages. Some of the usages for this library include providing state & transition validation and running/scheduling/analyzing the execution of tasks.