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.0-py3-none-any.whl (892.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fm_weck-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 892.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33fcc727d957fcbb6bfe28ad8fede3f0721dfa8530c55df770ff04fb3b7c0504
MD5 e9054ee8964b2896479918fc1f67f049
BLAKE2b-256 7f9afbf8b7bb04caf67a9e3cc918c1368faed023c7ad6c2fbb57f6336d5a99ac

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