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.5 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

  • Fully controllable simulation clock, with support for real and simulated time

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

  • Support for Design by Contract (DbC) for statecharts: contracts can be specified to express invariants, pre- and postconditions on states and transitions

  • Runtime monitoring of behavioral properties expressed as statecharts

  • Built-in support for behavior-driven development (BDD)

  • Support for communication between statecharts

  • Synchronous and asynchronous executions

  • Statechart visualization using PlantUML

Installation

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

The scientific article A method for testing and validating executable statechart models presenting the method and techniques supported by Sismic for validating and testing statecharts, is published in Springer’s Software and Systems modeling journal in 2018.

Changelog

See documentation’s changelog.

Credits

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

Sismic is released as open source software under the GNU Lesser General Public Licence version 3.0 (LGPLv3).

You can cite the Sismic library using:

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

You can cite the associated research article using:

@article{sismic2018-sosym,
   author = {Mens, Tom and Decan, Alexandre and Spanoudakis, Nikolaos},
   journal = {Software and Systems Modeling},
   publisher = {Springer},
   year = 2018,
   title = {A method for testing and validating executable statechart models},
   doi = {10.1007/s10270-018-0676-3},
   url = {https://link.springer.com/article/10.1007/s10270-018-0676-3},
 }

Project details


Release history Release notifications | RSS feed

This version

1.5.0

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.5.0.tar.gz (570.7 kB view details)

Uploaded Source

Built Distribution

sismic-1.5.0-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sismic-1.5.0.tar.gz
  • Upload date:
  • Size: 570.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.6

File hashes

Hashes for sismic-1.5.0.tar.gz
Algorithm Hash digest
SHA256 fa85a48953aec5afbe7c674de59c0991f143a4add728794aff83bbf6282a3dc0
MD5 baa053cf83fcef56ad4883d9f81e023d
BLAKE2b-256 226181079998c7e37ea13e4805b64e5298a3dfc4d2b049280ba18f3a19df84f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sismic-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.6

File hashes

Hashes for sismic-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5feeee926f33b1437c275c48df949f4000f82332d24795d55a06b3ff114a996a
MD5 f4f72736e42414f1bf8958f9c6ead71d
BLAKE2b-256 eab2deb6fc71bad2ac0a31fd8d283ef4298bc80a02a679af4c3c6b4e17870cf4

See more details on using hashes here.

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