Skip to main content

No project description provided

Project description

fm-weck: Run formal methods tools in containerized environments

fm-weck is a command line tool and library that makes the execution of formal methods tools easy. fm-weck downloads the tools and caches them for later use.

We provide a tutorial on how to use fm-weck here.

Install dependencies

fm-weck requires Python 3.10 or higher. fm-weck relies on an available Podman or Docker installation. To install Podman on Ubuntu, run the following command:

sudo apt install podman

Modes of Operation

There are three modes of operation: run, shell and expert.

  • run: (Recommended) enables plug-and-play execution of formal methods tools: it downloads and unpacks a tool from the fm-tools metadata file into a user-specified cache directory on the host system and then runs the tool in the containerized environment
  • expert: executes a tool in it's containerized environment specified through the corresponding fm-tools YAML file: All arguments are passed verbatim to the tool.
  • shell: enters an interactive shell inside of the container specified by the given tool

Development and Testing

When using any command with the fm-weck <cmd> toolname ... syntax, the tool name is searched in src/fm_weck/resources/fm_tools. During the build process of the .whl file for fm-weck, the fm_tools/data directory is copied to that location. When running or developing fm-weck from the git repository, the user must make sure that the contents of fm_tools/data directory are available in the src/fm_weck/resources/fm_tools directory.

In Linux this can be done by running the following command in the root directory of the project:

ln -s $(pwd)/fm_tools/data $(pwd)/src/fm_weck/resources/fm_tools

Publications

A paper about fm-weck has been accepted at the FM '24 conference.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

fm_weck-1.5.3-py3-none-any.whl (894.8 kB view details)

Uploaded Python 3

File details

Details for the file fm_weck-1.5.3-py3-none-any.whl.

File metadata

  • Download URL: fm_weck-1.5.3-py3-none-any.whl
  • Upload date:
  • Size: 894.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for fm_weck-1.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 803a40113b3b2d7ff05f5a577346b97b07d96d216011636e4d020e467fde0209
MD5 14b8f09a7e50ba532dfbaa84b63bd60d
BLAKE2b-256 ab5d7af2546d2695e2eec556684d94c3f1df55a8014e9dbb41cc6a68d5a7d506

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