过渡:Python中的轻量级,面向对象的有限状态机实现,具有许多扩展

时间:2021-02-05 11:22:48
【文件属性】:
文件名称:过渡:Python中的轻量级,面向对象的有限状态机实现,具有许多扩展
文件大小:1.06MB
文件格式:ZIP
更新时间:2021-02-05 11:22:48
python state-machine state-diagram nested-states hierarchical-state-machine 过渡 Python中的轻量级,面向对象的状态机实现,具有许多扩展。 与Python 2.7+和3.0+兼容。 安装 pip install transitions ...或从GitHub克隆存储库,然后: python setup.py install 目录 快速开始 他们说, 100页的API文档,一百万条指令或一千个字。 好吧,“他们”可能在说谎……但是无论如何这是一个例子: from transitions import Machine import random class NarcolepticSuperhero ( object ): # Define some s
【文件预览】:
transitions-master
----MANIFEST.in(292B)
----Changelog.md(22KB)
----.travis.yml(442B)
----.coveragerc(52B)
----binder()
--------apt.txt(9B)
--------requirements.txt(13B)
--------postBuild(35B)
----.scrutinizer.yml(196B)
----.pylintrc(14KB)
----pytest.ini(111B)
----conftest.py(322B)
----tests()
--------test_reuse.py(12KB)
--------utils.py(2KB)
--------test_add_remove.py(3KB)
--------test_states.py(6KB)
--------test_pygraphviz.py(4KB)
--------test_threading.py(10KB)
--------test_factory.py(2KB)
--------__init__.py(0B)
--------test_async.py(17KB)
--------test_enum.py(12KB)
--------test_graphviz.py(16KB)
--------test_nesting_legacy.py(7KB)
--------test_parallel.py(8KB)
--------test_markup.py(7KB)
--------test_codestyle.py(710B)
--------test_nesting.py(30KB)
--------test_core.py(43KB)
----tox.ini(500B)
----requirements_test.txt(76B)
----LICENSE(1KB)
----appveyor.yml(1KB)
----setup.cfg(150B)
----requirements.txt(4B)
----examples()
--------Playground.ipynb(9KB)
--------Graph MIxin Demo Nested.ipynb(583KB)
--------Frequently asked questions.ipynb(24KB)
--------Graph MIxin Demo.ipynb(741KB)
----transitions()
--------extensions()
--------core.py(57KB)
--------__init__.py(513B)
--------version.py(176B)
----setup.py(2KB)
----.gitignore(203B)
----requirements_diagrams.txt(11B)
----README.md(75KB)

网友评论