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

Pip (release version, recommended for users)

  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)

Note that you might have to tweak these steps a bit to get it to work on your particular system, but here is an outline. Contributors need Poetry to manage the development environment.

  1. Clone the stormvogel repo (or your own fork) in a separate folder
  2. In the stormvogel folder:
    poetry install
    poetry shell # Activate poetry virtual environment
    pip install stormpy
    pip install . # Install stormvogel
    
    If installing stormpy fails in poetry, you can also try to follow the official stormpy installation instructions, and run poetry shell on top of the virtualenv environment that they describe there.
  3. Install pre-commit hook: pre-commit install

Testing

nox -s tests   # run test suite
nox -s lint    # ruff + pyright
nox -s docs    # sphinx-build (executes doc notebooks)

Or run pytest directly without nox.

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.3

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.3
File Size Uploaded
stormvogel-0.12.3.tar.gz 536.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stormvogel 0.12.3
File Interpreter ABI Platform
stormvogel-0.12.3-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / stormvogel-0.12.3.tar.gz

Download URL stormvogel-0.12.3.tar.gz
Size 536.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c2039f254abaebb96024c1c31c6041c7de6c52ec01b8f4b0e0a1b48d440a8f77
BLAKE2b-256 checksum
How to use checksums
665a0cdfdfd6376e4e9011a3d048b9d39567ddfc1bee87f8d5bec28ab4bbf341
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.3 CPython/3.13.1 Linux/6.17.0-1022-azure

Release files / stormvogel-0.12.3-py3-none-any.whl

Download URL stormvogel-0.12.3-py3-none-any.whl
Size 588.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4ab59f88304c3261a39bd82365821776d1466b356447844f7c5667f61876236
BLAKE2b-256 checksum
How to use checksums
72e7442792ffc9a5e67be3faf4d97485112bdd95a7a41e522a501df63bf25505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.3 CPython/3.13.1 Linux/6.17.0-1022-azure

Release history Release notifications | RSS feed

This release

0.12.3 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