Library for input/output of transition systems in a unified Markov binary (UMB) format.
(optional) create and activate a python environment:
$ python -m venv venv
$ source venv/bin/activate
Install umbi via
(venv) $ pip install umbi
Examples:
(venv) $ umbi --import-umb /path/to/input.umb
(venv) $ umbi --import-umb /path/to/input.umb --export-umb /path/to/output.umb
(venv) $ umbi --import-umb /path/to/input.umb --export-umb /path/to/output.umb --log-level=DEBUG
Run the following command to install all development dependencies:
pip install .[dev]This will install tools for testing, linting, and other development tasks.
To ensure code quality and consistency, this repository uses pre-commit hooks. Developers should set up the hooks by running the following command:
pre-commit installThis will configure pre-commit to automatically run checks (e.g., linting, formatting) before each commit. To manually run the hooks on all files, use:
pre-commit run --all-files