Skip to main content

A Python library for quantitative models.

Project description

Momba

PyPi Package Basic Checks Tests Docs Code Style: Black

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 constructions of models effectively turning Python into a syntax-aware macro language for quantitative models. Momba's built-in simulator 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 analysis.

Features

  • first-class import and export of JANI models
  • syntax-aware macros for the modular constructions of models with Python code
  • built-in simulator for PTAs, MDPs and other model types
  • interfaces to state-of-the-art model checkers, e.g., The Modest Toolset and Storm
  • pythonic and statically typed APIs to thinker with formal models

Getting Started

Momba is available from the Python Package Index:

pip install momba

Check out the examples or read the documentation to learn how to use Momba.

Why?

The idea to harvest a general purpose programming environment for formal modelling is not new at all. For instance, the SVL language combines the power of process algebraic modelling with the power of the bourne shell. Many formal modelling tools also already provide Python bindings, e.g., Storm and Spot. Momba tries not to be yet another incarnation of these ideas. While the construction of formal models clearly is an integral part of Momba, Momba is more than just a framework for constructing models with the help of Python. Most importantly, it also provides features to work with these models such as a simulator or an interface to different model checking tools. At the same time, it is not just a binding to an API developed for another language, like C++. Momba is tool-agnostic and aims to provide a pythonic interface for dealing with formal models while leveraging existing tools. Momba covers the whole process from model creation through validation to analysis. To this end, it is centered around the well-entrenched JANI-model interchange format.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

momba-0.2.2.tar.gz (49.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

momba-0.2.2-py3-none-any.whl (64.3 kB view details)

Uploaded Python 3

File details

Details for the file momba-0.2.2.tar.gz.

File metadata

  • Download URL: momba-0.2.2.tar.gz
  • Upload date:
  • Size: 49.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.8.0 Windows/10

File hashes

Hashes for momba-0.2.2.tar.gz
Algorithm Hash digest
SHA256 eab93b2ec99555fbdb22decd7b1d99a2ea0dcb1219faf629c39edc68d680d1a0
MD5 a910874bdf46b62fcd3f27322f24de92
BLAKE2b-256 33bce02de3b8a0694adde6181c31bad325bafce40a11b22b20c7bca6f5b3e135

See more details on using hashes here.

File details

Details for the file momba-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: momba-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 64.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.8.0 Windows/10

File hashes

Hashes for momba-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c81848e1733b4823b729b90039fa813964d8c31af728a6dbf16f11d482b6e65a
MD5 64e4f4dc5d2107d28a6386b5751c3b7c
BLAKE2b-256 145f4d4344bc73e8ac6a9a411b6dd27ff8c3a3c02fb46ec6572be34ca7c03050

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page