A trivial extension to Python UML statechart framework
Project description
# statechartx
This Python package, statechartx, is a trivial extension to Leigh McKenzie’s statechart, Python UML statechart framework (https://github.com/leighmck/statechart).
This extension has introduced the concept of terminal state and workflow (or non-terminal state). A terminal state (class TerminalState) is equivalent to statechart’s class State, which itself does not contain any other states. A workflow (class Workflow) is equivalent to statechart’s class CompositeState, which itself contains other terminal states and workflows.
The goal of this extension is to simplify and ease the way a workflow is created and defined. This extension is by no means a layer of software on top of statechart, as the user still has to use statechart to achieve their goal. See the example code in example.py for example usage.
## Dependencies
See file requirements.txt.
## Installation
pip install statechartx
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file statechartx-0.0.2.tar.gz.
File metadata
- Download URL: statechartx-0.0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.4.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
513be81e92b48b32d449c77f2dd25875ffc5edc2bea1f3b7b99e581e0fe4acd6
|
|
| MD5 |
6e019c6896cde91883f896f7133bd513
|
|
| BLAKE2b-256 |
9971ab3a1eea6cf3102e1cff0ada9458a0d70abff93def983c6b4848c1b1fceb
|
File details
Details for the file statechartx-0.0.2-py3-none-any.whl.
File metadata
- Download URL: statechartx-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.4.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
528b8cdbce80fd8897d5c76462c09fe742014c37767f16e5551cecbdb66ccb19
|
|
| MD5 |
801fa00387bf350457e6dc7ef764b69f
|
|
| BLAKE2b-256 |
b4fab871d501ba44ad4b2d4683d8655242ce39d2374dc962d080dd8eae463a73
|