A simple tool to cache the configuration files of the commands
Project description
A simple CLI tool to faciliate config-based jobs
Background
When submitting a job that requires queueing (for example, in SLURM), the configure files used in the commands are not used at the moment the job was submitted. Changing the configuration files right after the submission may cause unexpected consequences when the job is really launched (read the wrong configuration files).
The simple tool provided by this extension is to copy detected scripts and configurations in a temporary directories and to redirect the arguments to those in the temporary directories (by default is ~/.submit-tool/<random_str>/
).
Installation
pip install submit-tool
Usage
submit-tool <original command>
Supported extensions
sh
json
yaml
yml
toml
ini
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
Built Distribution
File details
Details for the file submit_tool-0.2.0.tar.gz
.
File metadata
- Download URL: submit_tool-0.2.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eaa35edb34670692f6e9c9f9330387f28be07ccc9aa97dd9a183128e047824f |
|
MD5 | bcd9725d0843858ddb0ba1c25ba83303 |
|
BLAKE2b-256 | 0716d10cad472579feeea51e265d6444a1c954347e968f2fefb80edd30502214 |
File details
Details for the file submit_tool-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: submit_tool-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ac9190a022347bfaaf39aef9b26c1b74e859f552898a4cc0041732c17f9ee04 |
|
MD5 | da10756a4c01a35a5acf0bb878f66ef8 |
|
BLAKE2b-256 | 73d3b8ed99c7091a16aea558b92bf86f677ed2eabeae895de540fd3acb36014c |