Skip to main content

Sismic Interactive Statechart Model Interpreter and Checker

Project description

https://travis-ci.org/AlexandreDecan/sismic.svg?branch=devel https://coveralls.io/repos/AlexandreDecan/sismic/badge.svg?branch=devel&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

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, 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

  • Predefined step definitions and utilities (including test coverage) to support behavior-driven development

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

  • Visualize statecharts using PlantUML

Some experimental features are also available as feature branches.

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 devel branch, the latest stable distributed version is in the master branch.

Sismic requires Python >=3.4

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. Unreleased changes are visible here.

Credits

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

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

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

Uploaded Source

Built Distribution

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

sismic-0.24.3-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sismic-0.24.3.tar.gz
Algorithm Hash digest
SHA256 20c1d47a1e3645320912ab53abb5e154d5f49d939c2218a09ef1fe8b750b78fb
MD5 09db2a561cbf20895add7e0dc0b8b8b6
BLAKE2b-256 0944a75be4754db783ee0ba5bfff02e19197156da7ca5426b2652cc8cb828fb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sismic-0.24.3-py3-none-any.whl
Algorithm Hash digest
SHA256 be42bfce8ef79dffa02c5fb8fc64e068c49347c662a1e2e9edfe6a99f85d6cce
MD5 552f6bdb8dea68b34b6117f4107e5c7b
BLAKE2b-256 862554d3c0d455ed6b963e8249c9aeda2294a014d7f3f7aeca79e9675f985724

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