sismic


Namesismic JSON
Version 1.6.8 PyPI version JSON
download
home_pagehttps://github.com/AlexandreDecan/sismic/
SummarySismic Interactive Statechart Model Interpreter and Checker
upload_time2024-10-19 14:37:28
maintainerNone
docs_urlNone
authorAlexandre Decan
requires_python>=3.9
licenseLGPL3
keywords statechart state machine interpreter model uml scxml harel
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Sismic for Python
=================

.. image:: https://github.com/AlexandreDecan/sismic/actions/workflows/test.yaml/badge.svg?branch=master
    :target: https://github.com/AlexandreDecan/sismic/actions/workflows/test.yaml
.. image:: https://coveralls.io/repos/AlexandreDecan/sismic/badge.svg?branch=master&service=github
    :target: https://coveralls.io/github/AlexandreDecan/sismic?branch=master
.. image:: https://badge.fury.io/py/sismic.svg
    :target: https://pypi.org/project/sismic/
.. image:: https://readthedocs.org/projects/sismic/badge/?version=latest
    :target: https://sismic.readthedocs.io/

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.9 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 <http://www.plantuml.com/plantuml>`__


Installation
------------

Sismic requires Python >=3.9.
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 <https://semver.org>`__ scheme.


Documentation
-------------

The documentation for the latest distributed version is available on `sismic.readthedocs.io <http://sismic.readthedocs.io/>`_.

Many examples are available in `docs/examples <https://github.com/AlexandreDecan/sismic/tree/master/docs/examples>`_.

The documentation can also be directly built from the `docs <https://github.com/AlexandreDecan/sismic/tree/master/docs>`_ directory using Sphinx.

The scientific article `A method for testing and validating executable statechart models <https://doi.org/10.1007/s10270-018-0676-3>`_ 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 <https://sismic.readthedocs.io/en/latest/changelog.html>`_.


Credits
-------

The Sismic library for Python is mainly developed by Alexandre Decan at the
`Software Engineering Lab <http://informatique.umons.ac.be/genlog>`_ of the `University of Mons <http://www.umons.ac.be>`_ with the help of `many contributors <http://sismic.readthedocs.io/en/latest/authors.html>`_.

Sismic is released as open source software under the `GNU Lesser General Public Licence version 3.0 (LGPLv3)
<http://www.gnu.org/licenses/lgpl-3.0.html>`_.


You can cite the Sismic library using:

.. code::

    @article{sismic-article,
        title = "Sismic—A Python library for statechart execution and testing",
        journal = "SoftwareX",
        volume = "12",
        pages = "100590",
        year = "2020",
        issn = "2352-7110",
        doi = "10.1016/j.softx.2020.100590",
        url = "https://doi.org/10.1016/j.softx.2020.100590",
        author = "Alexandre Decan and Tom Mens",
    }

or

.. code::

    @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 (`PDF <https://decan.lexpage.net/files/SOSYM-2018.pdf>`_) using:

.. code::

    @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://doi.org/10.1007/s10270-018-0676-3},
     }


External Resources
------------------

The following resources provide additional information about statecharts that may be of use, even if it is not immediately related to Sismic.

* `Yakindu Statechart tools <https://www.itemis.com/en/yakindu/state-machine/>`__: commercial software for visual simulation, debugging, testing and code generation from statecharts. A free academic licence can be obtained for universities.
* A `YouTube playlist <https://www.youtube.com/playlist?list=PLmHMvhX5wK_aohX5sOeAMogFDwlc3gJYR>`__ providing a set of introductory tutorials about statechart modeling and simulation (based on the aforementioned Yakindu tool).

(If some of the links provided above turn out to be dead, or if you know other relevant resources that should be added here, please contact us.)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/AlexandreDecan/sismic/",
    "name": "sismic",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "statechart state machine interpreter model uml scxml harel",
    "author": "Alexandre Decan",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/48/ed/500116cd60484832efb9ad23e45a428f111f98b40f7cd7f74e0280864581/sismic-1.6.8.tar.gz",
    "platform": null,
    "description": "Sismic for Python\n=================\n\n.. image:: https://github.com/AlexandreDecan/sismic/actions/workflows/test.yaml/badge.svg?branch=master\n    :target: https://github.com/AlexandreDecan/sismic/actions/workflows/test.yaml\n.. image:: https://coveralls.io/repos/AlexandreDecan/sismic/badge.svg?branch=master&service=github\n    :target: https://coveralls.io/github/AlexandreDecan/sismic?branch=master\n.. image:: https://badge.fury.io/py/sismic.svg\n    :target: https://pypi.org/project/sismic/\n.. image:: https://readthedocs.org/projects/sismic/badge/?version=latest\n    :target: https://sismic.readthedocs.io/\n\nSismic Interactive Statechart Model Interpreter and Checker\n-----------------------------------------------------------\n\n*Sismic* is a recursive acronym that stands for *Sismic Interactive Statechart Model Interpreter and Checker*.\n\nStatecharts are a well-known visual modeling language for representing the executable behavior\nof complex reactive event-based systems. Sismic library for Python (version 3.9 or higher) provides a set of\ntools to define, validate, simulate, execute and test statecharts.\nMore specifically, Sismic provides:\n\n- An easy way to define and to import statecharts, based on the human-friendly YAML markup language\n- A statechart interpreter offering a discrete, step-by-step, and fully observable simulation engine\n- Fully controllable simulation clock, with support for real and simulated time\n- Built-in support for expressing actions and guards using regular Python code, can be easily extended to other programming languages\n- Support for Design by Contract (DbC) for statecharts: contracts can be specified to express invariants, pre- and postconditions on states and transitions\n- Runtime monitoring of behavioral properties expressed as statecharts\n- Built-in support for behavior-driven development (BDD)\n- Support for communication between statecharts\n- Synchronous and asynchronous executions\n- Statechart visualization using `PlantUML <http://www.plantuml.com/plantuml>`__\n\n\nInstallation\n------------\n\nSismic requires Python >=3.9.\nSismic can be installed using ``pip`` as usual: ``pip install sismic``.\nThis will install the latest stable version.\n\nYou can also install Sismic from this repository by cloning it.\n\nStarting from release 1.0.0, Sismic adheres to a `semantic versioning <https://semver.org>`__ scheme.\n\n\nDocumentation\n-------------\n\nThe documentation for the latest distributed version is available on `sismic.readthedocs.io <http://sismic.readthedocs.io/>`_.\n\nMany examples are available in `docs/examples <https://github.com/AlexandreDecan/sismic/tree/master/docs/examples>`_.\n\nThe documentation can also be directly built from the `docs <https://github.com/AlexandreDecan/sismic/tree/master/docs>`_ directory using Sphinx.\n\nThe scientific article `A method for testing and validating executable statechart models <https://doi.org/10.1007/s10270-018-0676-3>`_ 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.\n\n\nChangelog\n---------\n\nSee documentation's `changelog <https://sismic.readthedocs.io/en/latest/changelog.html>`_.\n\n\nCredits\n-------\n\nThe Sismic library for Python is mainly developed by Alexandre Decan at the\n`Software Engineering Lab <http://informatique.umons.ac.be/genlog>`_ of the `University of Mons <http://www.umons.ac.be>`_ with the help of `many contributors <http://sismic.readthedocs.io/en/latest/authors.html>`_.\n\nSismic is released as open source software under the `GNU Lesser General Public Licence version 3.0 (LGPLv3)\n<http://www.gnu.org/licenses/lgpl-3.0.html>`_.\n\n\nYou can cite the Sismic library using:\n\n.. code::\n\n    @article{sismic-article,\n        title = \"Sismic\u2014A Python library for statechart execution and testing\",\n        journal = \"SoftwareX\",\n        volume = \"12\",\n        pages = \"100590\",\n        year = \"2020\",\n        issn = \"2352-7110\",\n        doi = \"10.1016/j.softx.2020.100590\",\n        url = \"https://doi.org/10.1016/j.softx.2020.100590\",\n        author = \"Alexandre Decan and Tom Mens\",\n    }\n\nor\n\n.. code::\n\n    @software{sismic,\n      author = {Decan, Alexandre},\n      title = {Sismic Interactive Statechart Model Interpreter and Checker},\n      url = {https://github.com/AlexandreDecan/sismic},\n    }\n\n\nYou can cite the associated research article (`PDF <https://decan.lexpage.net/files/SOSYM-2018.pdf>`_) using:\n\n.. code::\n\n    @article{sismic2018-sosym,\n       author = {Mens, Tom and Decan, Alexandre and Spanoudakis, Nikolaos},\n       journal = {Software and Systems Modeling},\n       publisher = {Springer},\n       year = 2018,\n       title = {A method for testing and validating executable statechart models},\n       doi = {10.1007/s10270-018-0676-3},\n       url = {https://doi.org/10.1007/s10270-018-0676-3},\n     }\n\n\nExternal Resources\n------------------\n\nThe following resources provide additional information about statecharts that may be of use, even if it is not immediately related to Sismic.\n\n* `Yakindu Statechart tools <https://www.itemis.com/en/yakindu/state-machine/>`__: commercial software for visual simulation, debugging, testing and code generation from statecharts. A free academic licence can be obtained for universities.\n* A `YouTube playlist <https://www.youtube.com/playlist?list=PLmHMvhX5wK_aohX5sOeAMogFDwlc3gJYR>`__ providing a set of introductory tutorials about statechart modeling and simulation (based on the aforementioned Yakindu tool).\n\n(If some of the links provided above turn out to be dead, or if you know other relevant resources that should be added here, please contact us.)\n",
    "bugtrack_url": null,
    "license": "LGPL3",
    "summary": "Sismic Interactive Statechart Model Interpreter and Checker",
    "version": "1.6.8",
    "project_urls": {
        "Homepage": "https://github.com/AlexandreDecan/sismic/"
    },
    "split_keywords": [
        "statechart",
        "state",
        "machine",
        "interpreter",
        "model",
        "uml",
        "scxml",
        "harel"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d9dc43b36943abb8767dd21ad06bcd7d6f22973205f86df22c11add4c3c8417f",
                "md5": "0b781f2cb14a2c0e7d924046158cf8fc",
                "sha256": "95c8b610a065e903bc85e7ef87716c8de5a183797fe52493291d9c98497f99a3"
            },
            "downloads": -1,
            "filename": "sismic-1.6.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0b781f2cb14a2c0e7d924046158cf8fc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 53865,
            "upload_time": "2024-10-19T14:37:26",
            "upload_time_iso_8601": "2024-10-19T14:37:26.393942Z",
            "url": "https://files.pythonhosted.org/packages/d9/dc/43b36943abb8767dd21ad06bcd7d6f22973205f86df22c11add4c3c8417f/sismic-1.6.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48ed500116cd60484832efb9ad23e45a428f111f98b40f7cd7f74e0280864581",
                "md5": "5eae7459e32c2082ecfce808c6a9e926",
                "sha256": "2c18814b61ab0cf5383680c5f365c4842907688f9a3798480f577b0f2c7e2a04"
            },
            "downloads": -1,
            "filename": "sismic-1.6.8.tar.gz",
            "has_sig": false,
            "md5_digest": "5eae7459e32c2082ecfce808c6a9e926",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 572710,
            "upload_time": "2024-10-19T14:37:28",
            "upload_time_iso_8601": "2024-10-19T14:37:28.513163Z",
            "url": "https://files.pythonhosted.org/packages/48/ed/500116cd60484832efb9ad23e45a428f111f98b40f7cd7f74e0280864581/sismic-1.6.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-19 14:37:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AlexandreDecan",
    "github_project": "sismic",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "sismic"
}
        
Elapsed time: 0.35998s