Skip to main content

Library for input/output of transition systems in a unified Markov binary (UMB) format.

Project description

umbi

Library for input/output of transition systems in a unified Markov binary (UMB) format.

Installation:

(optional) create and activate a python environment:

python -m venv .venv
source .venv/bin/activate

Install umbi via

pip install umbi

Running umbi

Examples:

umbi --import-umb /path/to/input.umb
umbi --import-umb /path/to/input.umb --export-umb /path/to/output.umb
umbi --import-umb /path/to/input.umb --export-umb /path/to/output.umb --log-level=DEBUG

Development

Setup

Install development dependencies:

pip install .[dev]

Code Quality

Pre-commit hooks automatically run code quality checks before each commit. Configuration: .pre-commit-config.yaml

Set up the hooks with:

pre-commit install

Run hooks manually on all files:

pre-commit run --all-files

Individual tools can be run manually:

Ruff -- Code formatting and linting. Config: pyproject.toml ([tool.ruff])

ruff check .       # check for issues
ruff format .      # format code
ruff check . --fix # check and fix

Pyright -- Static type checking. Config: pyproject.toml ([tool.pyright])

pyright             # check entire project
pyright umbi/       # check specific directory

Lockfiles

Dependencies are pinned in the uv.lock lockfile for reproducible builds. The lockfile is automatically updated via pre-commit hooks when pyproject.toml changes. To update manually:

uv lock

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

umbi-0.2.2.tar.gz (44.0 kB view details)

Uploaded Source

Built Distribution

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

umbi-0.2.2-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: umbi-0.2.2.tar.gz
  • Upload date:
  • Size: 44.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for umbi-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c31484dd387476358c38b45f5c116c7c442f5aeefe5b4dd373cf3dc9ff3d752c
MD5 c30d52a104e8f025c1518d94c4a678ac
BLAKE2b-256 a6b2c998af7422345fe0438bb4807612d4563df9718661b92a88f78b0ff72a55

See more details on using hashes here.

Provenance

The following attestation bundles were made for umbi-0.2.2.tar.gz:

Publisher: release.yml on pmc-tools/umbi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: umbi-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 59.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for umbi-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b16a927abd40a9858e8a25145b4673bea57fbb9605919b9c51ea29cc20cc407
MD5 20e10a2a37aab605d582a07617dcd829
BLAKE2b-256 de22b06aa5fc08a833f96bce3a74dec1e4868feeb3a2139e575e3fa891c38a74

See more details on using hashes here.

Provenance

The following attestation bundles were made for umbi-0.2.2-py3-none-any.whl:

Publisher: release.yml on pmc-tools/umbi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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