Skip to main content

(Unofficial) Python interface to nuXmv

Project description

pyxmv - (Unofficial) Python interface to nuXmv

nuXmv is a state-of-the-art symbolic model checker for the analysis of finite- and infinite- state systems.

pyxmv is a (very much WIP) wrapper for the nuXmv command-line interface; it aims at providing APIs for several features, and comes with a small CLI to showcase what it can do.

The CLI itself should, in time, become an alternative to the official one with a focus on automation/scriptability/interop with other tools/pipelines/workflows.

Quickstart

Besides nuXmv, the tool requires Python >= 3.10 and Poetry.

After cloning this repository:

cd pyxmv
poetry update
poetry install
pyxmv --help

Install options

poetry install --only main  # Only installs packages that pyxmv needs to run
poetry install              # Also install dev dependencies
poetry install --all-extras # Installs all optional packages

Dev dependencies are packages that are only required for contributing or testing, such as mypy. Since v0.3.0 we strive to have a codebase that can pass at least mypy --allow-redefinition, at least on commits tagged with a version number.

At the moment the only optional package is rich. When installed, it provides somewhat fancier output, especially on --help.

Future work

  • Support alternative simulation heuristics

  • Support NuSMV

Licensing caveats

pyxmv is MIT-licensed, but it is perfectly useless unless you obtain a copy of nuXmv. Licensing restrictions forbid me from redistributing it, but it may be downloaded here

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

pyxmv-0.6.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

pyxmv-0.6.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file pyxmv-0.6.0.tar.gz.

File metadata

  • Download URL: pyxmv-0.6.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.8 Darwin/23.6.0

File hashes

Hashes for pyxmv-0.6.0.tar.gz
Algorithm Hash digest
SHA256 e05585a2831c0a6b1ca26576372632dcf9b912050fcfe4dd5dd76f189b68aa46
MD5 7236c6f7132b2465627ec412e6f06a82
BLAKE2b-256 73aad07ecc6e176d1df0f8e1d6e2c271017a9f74656a6d34376e7fa9ebd7ba93

See more details on using hashes here.

File details

Details for the file pyxmv-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: pyxmv-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.8 Darwin/23.6.0

File hashes

Hashes for pyxmv-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 966ed345599d12963525e992d4b7371283e01d905a0acd6c807d56c2e3cc95f8
MD5 9e0fbf06d79b3ced5556be5b996dfffa
BLAKE2b-256 82ddc543a4e701976a8e893500a5be815ecdfa115d9f2c3e3866e2b0b4155727

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