Skip to main content

Stormvogel 🐦: An interactive approach to probabilistic model checking in Python

Coverage

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

  1. Run pip install stormvogel.
  2. To also install stormpy, run pip install stormpy.
  3. Run jupyter lab
  4. Now a browser window should open that runs jupyter lab with stormvogel installed.

Docker (release version)

  1. Install docker. Run:
  2. docker run -it -p 8080:8080 stormvogel/stormvogel
  3. 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.

  1. Clone the stormvogel repo (or your own fork) in a separate folder
  2. In the stormvogel folder:
    uv sync --locked --extra storm
    uv run jupyter lab
    
    This creates .venv and installs the project plus development, test, lint, and documentation tools. Omit --extra storm for core-only development, or use --all-extras for all optional integrations (needed for documentation builds). Some extras require system libraries such as Cairo and Graphviz; docs also need Pandoc.
  3. Install the pre-commit hook: 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)

Source distribution for stormvogel 0.12.4
File Size Uploaded
stormvogel-0.12.4.tar.gz 885.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stormvogel 0.12.4
File Interpreter ABI Platform
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}

Release history Release notifications | RSS feed

This release

0.12.4 This release

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page