Skip to main content
https://travis-ci.org/AlexandreDecan/sismic.svg https://coveralls.io/repos/AlexandreDecan/sismic/badge.svg?branch=master&service=github https://badge.fury.io/py/sismic.svg https://readthedocs.org/projects/sismic/badge

Sismic Interactive State Machine Interpreter and Checker

Statecharts are a well-known visual language for modeling the executable behavior of complex reactive event-based systems. The Sismic library for Python >= 3.4 provides a set of tools to define, validate, simulate, execute and debug statecharts. More specifically, Sismic provides:

  • An easy way to define and to import statecharts, based on the human-friendly YAML markup language

  • A statechart interpreter offering a discrete, step-by-step, and fully observable simulation engine

  • Synchronous and asynchronous simulation, in real time or simulated time

  • Support for communication between statecharts and co-simulation

  • Built-in support for expressing actions and guards using regular Python code

  • A design-by-contract approach for statecharts

  • A unit testing framework for statecharts, including generation of test scenarios

Sismic provides full support for the majority of the UML 2 statechart concepts:

  • simple states, composite states, orthogonal (parallel) states, initial and final states, shallow and deep history states

  • state transitions, guarded transitions, automatic (eventless) transitions, internal transitions

  • statechart variables and their initialisation

  • state entry and exit actions, transition actions

  • internal and external events, parametrized events, timed events

In addition to this, contracts can be specified to express invariants, pre- and postconditions on states, transitions and the statechart itself.

The Sismic library is written in a modular way:

  • The semantics of the statechart interpreter is based on the specification of the SCXML semantics (with a few exceptions), and can be easily tuned to other semantics.

  • While currently, contracts, guards and actions are expressed in Python, this support can be easily extended to other languages.

Installation

Sismic can be installed using pip as usual: pip install sismic. This will install the latest stable version.

You can also install Sismic from this repository by cloning it. The development occurs in the master branch, the latest stable distributed version is in the stable branch.

Sismic requires Python >=3.4 but should also work with Python 3.3.

Documentation

The latest version of the documentation is available at http://sismic.readthedocs.org/ .

It can also be directly built from the docs/ directory using Sphinx.

Credits

Developed by Alexandre Decan at the University of Mons (Belgium).

GNU Lesser General Public License, version 3.

Release files for sismic 0.14.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sismic 0.14.0
File Size Uploaded
sismic-0.14.0.tar.gz 902.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sismic 0.14.0
File Interpreter ABI Platform
sismic-0.14.0-py3-none-any.whl Python 3 none any Details

Total release size: 925.8 kB

Release files / sismic-0.14.0.tar.gz

Download URL sismic-0.14.0.tar.gz
Size 902.2 kB
Tags Source
SHA-256 checksum
How to use checksums
439f2925642d61a1e2caef7686b376ad807575146d2d05908da26387d3c8b6a2
BLAKE2b-256 checksum
How to use checksums
a9883d06953c4bb6af4c5f6a515357e0927b3a142d359a722020eaf1eb6bb5b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sismic-0.14.0-py3-none-any.whl

Download URL sismic-0.14.0-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98cc7a98dc58d45993486742df136719e43c75f1d78aff3d9d9ecd63ea339bff
BLAKE2b-256 checksum
How to use checksums
06bfd1e720cd28e0437e482e034813c558103a9c829b8363d9e0b41a5ec1f159
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.6.11

2 release files

1.6.9

2 release files

1.6.8

2 release files

1.6.7

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.26.8

2 release files

0.26.7

2 release files

0.26.6

2 release files

0.26.5

2 release files

0.26.4

2 release files

0.26.3

2 release files

0.26.2

2 release files

0.26.1

2 release files

0.26.0

2 release files

0.25.3

2 release files

0.25.2

2 release files

0.23.1

2 release files

0.23.0

2 release files

0.22.9

2 release files

0.22.8

2 release files

0.22.7

2 release files

0.22.1

2 release files

0.22.0

1 release file

0.21.0

1 release file

0.20.5

2 release files

0.20.4

2 release files

0.20.3

2 release files

0.20.2

2 release files

0.20.1

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.1

1 release file

0.17.3

2 release files

0.17.2

1 release file

0.17.1

2 release files

0.16.0

1 release file

0.15.0

2 release files

0.14.3

2 release files

0.14.2

2 release files

0.14.1

2 release files

This release

0.14.0 This release

2 release files

0.11.5

2 release files

0.11.4

2 release files

0.11.3

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.6.3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page