xstate-python:适用于Python的XState

时间:2021-05-09 04:38:08
【文件属性】:
文件名称:xstate-python:适用于Python的XState
文件大小:22KB
文件格式:ZIP
更新时间:2021-05-09 04:38:08
Python 适用于Python的XState XState for Python-正在进行中! 如何使用 from xstate import Machine lights = Machine ( { "id" : "lights" , "initial" : "green" , "states" : { "green" : { "on" : { "TIMER" : "yellow" },}, "yellow" : { "on" : { "TIMER" : "red" }}, "red" : { "on" : { "TIMER" : "green" }}, }, } ) state = lights . initial_state # state.v
【文件预览】:
xstate-python-master
----.gitmodules(109B)
----requirements_dev.txt(64B)
----conftest.py(0B)
----test-framework()
----tests()
--------test_machine.py(1KB)
--------test_algorithm.py(720B)
--------test_scxml.py(2KB)
--------test_actions.py(3KB)
----LICENSE(1KB)
----viz.py(2KB)
----CONTRIBUTING.md(502B)
----__init__.py(0B)
----setup.cfg(628B)
----examples()
--------substates.py(2KB)
--------basic.py(933B)
--------ui.py(1KB)
--------actions.py(1KB)
----setup.py(38B)
----.gitignore(2KB)
----package.py(224B)
----README.md(1KB)
----xstate()
--------action.py(464B)
--------state.py(859B)
--------scxml.py(4KB)
--------__init__.py(36B)
--------interpreter.py(269B)
--------state_node.py(4KB)
--------transition.py(2KB)
--------algorithm.py(20KB)
--------machine.py(3KB)
--------event.py(292B)
----.vscode()
--------settings.json(229B)

网友评论