Skip to main content

Momba Logo

PyPi Package Tests Docs Code Style: Black Gitter DOI

Momba is a Python framework for dealing with quantitative models centered around the JANI-model interchange format. Momba strives to deliver an integrated and intuitive experience to aid the process of model construction, validation, and analysis. It provides convenience functions for the modular construction of models effectively turning Python into a syntax-aware macro language for quantitative models. Momba's built-in exploration engine allows gaining confidence in a model, for instance, by rapidly prototyping a tool for interactive model exploration and visualization, or by connecting it to a testing framework. Finally, thanks to the JANI-model interchange format, several state-of-the-art model checkers and other tools are readily available for model analysis.

For academic publications, please cite Momba as follows:

Maximilian A. Köhl, Michaela Klauck, and Holger Hermanns: Momba: JANI Meets Python. In: J. F. Groote and K. G. Larsen (eds.) 27th International Conference on Tools and Algorithms for the Construction and Analysis of Systems, TACAS 2021. DOI: https://doi.org/10.1007/978-3-030-72013-1_23.

In case you made anything with Momba or plan to do so, we would highly appreciate if you let us know about your exciting project by opening a discussion or dropping us a message. 🙌

✨ Features

  • first-class import and export of JANI models
  • syntax-aware macros for the modular construction of models with Python code
  • built-in exploration engine for PTAs, MDPs and other model types
  • interfaces to state-of-the-art model checkers, e.g., the Modest Toolset and Storm
  • an OpenAI Gym compatible interface for training agents on formal models
  • pythonic and statically typed APIs to tinker with formal models
  • hassle-free out-of-the-box support for Windows, Linux, and MacOS

🚀 Getting Started

Momba is available from the Python Package Index:

pip install momba[all]

Installing Momba with the all feature flag will install all optional dependencies unleashing the full power and all features of Momba. Check out the examples or read the user guide to learn more.

If you aim at a fully reproducible modeling environment, we recommend using Pipenv or Poetry for dependency management. We also provide a GitHub Template for Pipenv.

🏗 Contributing

We welcome all kinds of contributions!

For minor changes and bug fixes feel free to simply open a pull request. For major changes impacting the overall design of Momba, please first start a discussion outlining your idea.

⚖️ Licensing

Momba is licensed under either MIT or Apache 2.0 at your opinion.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache 2.0 license, shall be dual licensed as above, without any additional terms or conditions.

🦀 Rust Crates

The exploration engine of Momba is written in Rust levering PyO3 for Python bindings. In case you are a Rust developer you might find some of the crates in engine/crates useful. In particular, the crate momba-explore allows developing model analysis tools with JANI support in Rust based on Momba's explicit state space exploration engine. The Rust command line tool momba-sidekick directly exposes some of this functionality.

🙏 Acknowledgements

This project is partially supported by the German Research Foundation (DFG) under grant No. 389792660, as part of TRR 248.

Thanks to Sarah Sterz for the awesome Momba logo and Felix Freiberger for the creative name.

Metadata

Release files for momba 0.6.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for momba 0.6.12
File Size Uploaded
momba-0.6.12.tar.gz 13.3 MB Details

Built distribution (wheel)

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

Total release size: 13.4 MB

Release files / momba-0.6.12.tar.gz

Download URL momba-0.6.12.tar.gz
Size 13.3 MB
Tags Source
SHA-256 checksum
How to use checksums
dcdb652cefaebfd884844abd57f03b90c26a0c400c055a3cc2cb5678473f62b4
BLAKE2b-256 checksum
How to use checksums
58ede54bba675783a5f40c70619a0d1a19138146b8ccaedc367a7b63f692577a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / momba-0.6.12-py3-none-any.whl

Download URL momba-0.6.12-py3-none-any.whl
Size 104.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a80641bebc1bd38d7cd060ac097817e0124e156e563f18e0ede3e412300da978
BLAKE2b-256 checksum
How to use checksums
860bf248e10f7c2cd4d69149d10c5dde80e42c6e746770a7edb00bb3be5b5f24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.6.12 This release

2 release files

0.6.11

2 release files

0.6.10

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

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