Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

statechartx-0.0.2.tar.gz (3.1 kB view hashes)

Uploaded source

Built Distribution

statechartx-0.0.2-py3-none-any.whl (4.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page