Skip to main content

Sismic Interactive Statechart Model Interpreter and Checker

Project description

https://travis-ci.org/AlexandreDecan/sismic.svg?branch=master https://coveralls.io/repos/AlexandreDecan/sismic/badge.svg?branch=master&service=github https://api.codacy.com/project/badge/grade/10d0a71b01c144859db571ddf17bb7d4 https://badge.fury.io/py/sismic.svg https://readthedocs.org/projects/sismic/badge/?version=master

Sismic Interactive Statechart Model Interpreter and Checker

Sismic is a recursive acronym that stands for Sismic Interactive Statechart Model Interpreter and Checker.

Statecharts are a well-known visual modeling language for representing the executable behavior of complex reactive event-based systems. Sismic library for Python (version 3.4 or higher) provides a set of tools to define, validate, simulate, execute and test 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

  • Built-in support for expressing actions and guards using regular Python code, can be easily extended to other programming languages

  • A design-by-contract approach for statecharts: contracts can be specified to express invariants, pre- and postconditions on states and transitions

  • Runtime checking of behavioral properties expressed as statecharts

  • Built-in support for behavior-driven development

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

  • Support for communication between statecharts and co-simulation

  • Statechart visualization using PlantUML

Some experimental features are also available as feature branches.

Installation

Sismic requires Python >=3.4. 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.

Starting from release 1.0.0, Sismic adheres to a semantic versioning scheme.

Documentation

The documentation for the latest distributed version is available on sismic.readthedocs.io.

Many examples are available in docs/examples.

The documentation can also be directly built from the docs directory using Sphinx.

Changelog

See documentation’s changelog.

Credits

The Sismic library for Python is mainly developed by Alexandre Decan at the University of Mons with the help of many contributors.

Sismic is released publicly under the GNU Lesser General Public Licence version 3.0 (LGPLv3).

You can cite Sismic using:

@software{sismic,
  author = {{Alexandre Decan}},
  title = {Sismic Interactive Statechart Model Interpreter and Checker},
  url = {https://github.com/AlexandreDecan/sismic},
}

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

sismic-1.2.2.tar.gz (552.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sismic-1.2.2-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

Details for the file sismic-1.2.2.tar.gz.

File metadata

  • Download URL: sismic-1.2.2.tar.gz
  • Upload date:
  • Size: 552.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sismic-1.2.2.tar.gz
Algorithm Hash digest
SHA256 306cc39315a1e017ede23872a7e71f565a59b5eb69735ff862d4d207c93291ba
MD5 f2a2e6d02c352fdbd7caaed0fb73ea85
BLAKE2b-256 fc4cdea5393c5d75becaa89290268ee299af7cb831289b2aef21b88a6deb8cc9

See more details on using hashes here.

File details

Details for the file sismic-1.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sismic-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c55b5af4c918969e5e5b32ddafc6d7a4543940837ae98b6471c4da6ae60107a
MD5 1a5fe39d42e7fec6003c91bf3d6c5767
BLAKE2b-256 77ebf0a150b4322c048c7375c4b70a545c49e296fc8948aadff211e329a244ca

See more details on using hashes here.

Supported by

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