Stormvogel 🐦: An interactive approach to probabilistic model checking in Python
The state-of-the-art model checking tools that are currently available are optimized to be efficient. The result of this is that they are quite hard to learn and use. Stormvogel flattens the learning cuve by providing easy and user-friendly APIs for creating probabilistic Markov models, and tools to visualize and debug them. It supports seemless conversion to the powerful Storm(py) model checker out of the box.
Features
-
Easy APIs for constructing Markov models in dedicated data structures. Currently, DTMCs, MDPs, CTMCs, POMDPs and Markov Automata are supported. This also includes parametric and interval models.
-
Seamless conversion between stormvogel and stormpy models with some runtime overhead. This allows, e.g., also using formats such as JANI and PRISM that are not supported by stormvogel directly. It is also possible to add support for a different model checker.
-
Visualization of Markov models as an interactive graph and into SVGs via dot. This includes extensive layout options, and displaying model checking results and simulations in an interactive way.
-
Support for gymnasium environments
-
An extensive documentation with clear examples.
Check out the the stormvogel documentation for examples of how to use stormvogel.
Installation
Pip (release version, recommended for users)
- Run
pip install stormvogel. - To also install stormpy, run
pip install stormpy. - Run
jupyter lab - Now a browser window should open that runs jupyter lab with stormvogel installed.
Docker (release version)
- Install
docker. Run: docker run -it -p 8080:8080 stormvogel/stormvogel- Now a browser window should open that runs jupyter lab with stormvogel and stormpy installed.
For contributors (latest version)
Contributors need uv and Python 3.12 or newer to manage the development environment.
- Clone the stormvogel repo (or your own fork) in a separate folder
- In the stormvogel folder:
This createsuv sync --locked --extra storm uv run jupyter lab.venvand installs the project plus development, test, lint, and documentation tools. Omit--extra stormfor core-only development, or use--all-extrasfor all optional integrations (needed for documentation builds). Some extras require system libraries such as Cairo and Graphviz; docs also need Pandoc. - Install the
pre-commithook:uv run pre-commit install
Commit uv.lock when changing dependencies with uv add or uv remove. Use uv lock --upgrade to update locked versions and uv sync --locked to install them.
Testing
uv run nox -s tests # run test suite
uv run nox -s lint # ruff + pyright
uv run nox -s docs # sphinx-build (executes doc notebooks)
Or run uv run pytest directly without nox.
To test without development tools or optional integrations:
uv sync --locked --no-default-groups --group test
uv run --no-sync pytest
Use --no-sync here so uv does not reinstall the default development groups.
Notice that part of the tests will be skipped if stormpy is not installed.
Authors
Stormvogel was mainly developed at Radboud University by Linus Heck, Pim Leerkes, and Ivo Melse under supervision from Sebastian Junges and Matthias Volk.
Thank you to our contributors: Luko van der Maas, Nicklas Osmers.
License
Stormvogel is licenced under the GPL-3.0 license.
Metadata
Release files for stormvogel 0.12.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stormvogel-0.12.4.tar.gz | 885.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stormvogel-0.12.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / stormvogel-0.12.4.tar.gz
| Download URL | stormvogel-0.12.4.tar.gz |
|---|---|
| Size | 885.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
532cafe6e49bba0c219ed35982b686cc11964f86275cf942645375e66f31daef
|
|
BLAKE2b-256 checksum How to use checksums |
a12b5abc53c5619bb36b31c843d6d62a952ba9a8a3828483e7afd9d1d6962d2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / stormvogel-0.12.4-py3-none-any.whl
| Download URL | stormvogel-0.12.4-py3-none-any.whl |
|---|---|
| Size | 588.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfaa374ad703b31bd8f611e41c89e394f9de4e5283a19c8fd18ecd7cc0b21290
|
|
BLAKE2b-256 checksum How to use checksums |
d03dc11a52abafb5a670dc1dde13640966dcdb1cac0a842a7a10592c06e52e71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|