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.

Files for statechartx, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size statechartx-0.0.2-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size statechartx-0.0.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

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