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 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
.
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 toolrun
: 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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file fm_weck-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: fm_weck-1.4.0-py3-none-any.whl
- Upload date:
- Size: 822.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4e7c43eacd8e983fb093bc8967c5a25fa58c6c2c14a9e70f2c220ec7400e5be |
|
MD5 | cf62fa64257563774aad0be76e7f7eff |
|
BLAKE2b-256 | c403e451c418c27c56b8dd524fa2e10623b4701958e251fd36b92ab2f2a929be |