mgoeminne / sismic

Sismic Interactive State Machine Interpreter and Checker http://sismic.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sismic for Python

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://readthedocs.org/projects/sismic/badge/?version=master

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
  • Design-by-contract and behavior-driven development approaches for statecharts
  • A unit testing framework for statecharts, including generation of test scenarios

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 at sismic.readthedocs.org.

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 developed at the Software Engineering Lab of the University of Mons as part of an ongoing software modeling research project.

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

About

Sismic Interactive State Machine Interpreter and Checker http://sismic.readthedocs.org/

License:Other


Languages

Language:Python 100.0%