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.2.1-py3-none-any.whl
.
File metadata
- Download URL: fm_weck-1.2.1-py3-none-any.whl
- Upload date:
- Size: 114.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 583db770007ff7c673ae7ef12b7b3013f5b82ed5fe62111ec7663a3443aadf75 |
|
MD5 | 32bc671fce6831995d907beea52ae248 |
|
BLAKE2b-256 | 2875f5974f4f870c73da33256fa37be67031ba6696ba207c483a9efd42d7be7b |