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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page