{"id":16238063,"url":"https://github.com/koehlma/momba","last_synced_at":"2025-06-17T03:35:54.389Z","repository":{"id":50230616,"uuid":"294415826","full_name":"koehlma/momba","owner":"koehlma","description":"A toolbox for dealing with formal models from construction to analysis based on the JANI-model interchange format.","archived":false,"fork":false,"pushed_at":"2024-08-03T17:37:47.000Z","size":33553,"stargazers_count":19,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-09T00:06:30.098Z","etag":null,"topics":["formal-methods","jani-models","model-checker","models","momba","python","quantitative-models"],"latest_commit_sha":null,"homepage":"https://momba.dev","language":"PDDL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koehlma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing/index.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-10T13:20:06.000Z","updated_at":"2025-03-09T15:20:53.000Z","dependencies_parsed_at":"2024-11-18T01:19:39.689Z","dependency_job_id":null,"html_url":"https://github.com/koehlma/momba","commit_stats":{"total_commits":557,"total_committers":4,"mean_commits":139.25,"dds":"0.22441651705565535","last_synced_commit":"8cc361ceea8f39a8b0b31318529e2a96b59b4cfb"},"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koehlma%2Fmomba","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koehlma%2Fmomba/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koehlma%2Fmomba/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koehlma%2Fmomba/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koehlma","download_url":"https://codeload.github.com/koehlma/momba/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koehlma%2Fmomba/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258874939,"owners_count":22771235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["formal-methods","jani-models","model-checker","models","momba","python","quantitative-models"],"created_at":"2024-10-10T13:38:35.681Z","updated_at":"2025-06-17T03:35:54.355Z","avatar_url":"https://github.com/koehlma.png","language":"PDDL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/koehlma/momba/master/docs/_static/images/logo_with_text.svg\" alt=\"Momba Logo\" width=\"200px\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pypi.python.org/pypi/momba\"\u003e\u003cimg alt=\"PyPi Package\" src=\"https://img.shields.io/pypi/v/momba.svg?label=latest%20version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/koehlma/momba/actions\"\u003e\u003cimg alt=\"Tests\" src=\"https://img.shields.io/github/actions/workflow/status/koehlma/momba/pipeline.yml?branch=main\u0026label=tests\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://koehlma.github.io/momba/\"\u003e\u003cimg alt=\"Docs\" src=\"https://img.shields.io/static/v1?label=docs\u0026message=master\u0026color=blue\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/psf/black\"\u003e\u003cimg alt=\"Code Style: Black\" src=\"https://img.shields.io/badge/code%20style-black-000000.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://gitter.im/koehlma/momba?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\"\u003e\u003cimg alt=\"Gitter\" src=\"https://badges.gitter.im/koehlma/momba.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://doi.org/10.5281/zenodo.4519376\"\u003e\u003cimg alt=\"DOI\" src=\"https://zenodo.org/badge/DOI/10.5281/zenodo.4519376.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n_Momba_ is a Python framework for dealing with quantitative models centered around the [JANI-model](http://www.jani-spec.org/) interchange format.\nMomba strives to deliver an integrated and intuitive experience to aid the process of model construction, validation, and analysis.\nIt provides convenience functions for the modular construction of models effectively turning Python into a syntax-aware macro language for quantitative models.\nMomba'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.\nFinally, thanks to the JANI-model interchange format, several state-of-the-art model checkers and other tools are readily available for model analysis.\n\nFor academic publications, please cite Momba as follows:\n\nMaximilian 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.\n\nIn 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](https://github.com/koehlma/momba/discussions/new?category=show-and-tell) or dropping us a message. 🙌\n\n## ✨ Features\n\n- first-class **import and export** of **JANI models**\n- **syntax-aware macros** for the modular construction of models with Python code\n- **built-in exploration engine** for PTAs, MDPs and other model types\n- interfaces to state-of-the-art model checkers, e.g., the [Modest Toolset](http://www.modestchecker.net/) and [Storm](https://www.stormchecker.org/)\n- **an [OpenAI Gym](https://gym.openai.com) compatible interface** for training agents on formal models\n- pythonic and **statically typed** APIs to tinker with formal models\n- hassle-free out-of-the-box support for **Windows, Linux, and MacOS**\n\n## 🚀 Getting Started\n\nMomba is available from the [Python Package Index](https://pypi.org/):\n\n```sh\npip install momba[all]\n```\n\nInstalling Momba with the `all` feature flag will install all optional dependencies unleashing the full power and all features of Momba.\nCheck out the [examples](https://koehlma.github.io/momba/examples) or read the [user guide](https://koehlma.github.io/momba/guide) to learn more.\n\nIf you aim at a fully reproducible modeling environment, we recommend using [Pipenv](https://pypi.org/project/pipenv/) or [Poetry](https://python-poetry.org/) for dependency management.\nWe also provide a [GitHub Template](https://github.com/koehlma/momba-pipenv-template) for Pipenv.\n\n## 🏗 Contributing\n\nWe welcome all kinds of contributions!\n\nFor 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](https://github.com/koehlma/momba/discussions/new?category=ideas) outlining your idea.\n\n## ⚖️ Licensing\n\nMomba is licensed under either [MIT](https://github.com/koehlma/momba/blob/main/LICENSE-MIT) or [Apache 2.0](https://github.com/koehlma/momba/blob/main/LICENSE-APACHE) at your opinion.\n\nUnless 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.\n\n## 🦀 Rust Crates\n\nThe exploration engine of Momba is written in [Rust](https://rust-lang.org) levering [PyO3](https://pyo3.rs/) for Python bindings.\nIn case you are a Rust developer you might find some of the crates in [engine/crates](engine/crates) useful.\nIn particular, the crate [momba-explore](https://crates.io/crates/momba-explore) allows developing model analysis tools with JANI support in Rust based on Momba's explicit state space exploration engine.\nThe Rust command line tool [`momba-sidekick`](https://crates.io/crates/momba-sidekick) directly exposes some of this functionality.\n\n## 🙏 Acknowledgements\n\nThis project is partially supported by the German Research Foundation (DFG) under grant No. 389792660, as part of [TRR 248](https://perspicuous-computing.science).\n\nThanks to Sarah Sterz for the awesome Momba logo and Felix Freiberger for the creative name.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoehlma%2Fmomba","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoehlma%2Fmomba","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoehlma%2Fmomba/lists"}