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.5.1.tar.gz (11.7 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.5.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyxmv-0.5.1.tar.gz
Algorithm Hash digest
SHA256 8fe466abf2dcedf9a329aac7a478cd98bbedf6ffd71a3681d673a68fd9706b1b
MD5 2fb6407f9d57b183237aa163c4a5c4e0
BLAKE2b-256 e3f825843e160b9362d744808ad6ed06a21dd6626bf7f98d07401d5cce7c5935

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyxmv-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f1a12b6d4158b93c232af393a642eef7af727ff130c3063ed8479ab6c759d5
MD5 972580d978ef81b8a347b9ad031756d0
BLAKE2b-256 85fac568b72166adcb75cdd75058f04b92d37202fc65807701dbf14874f63990

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