Skip to main content

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

submit_tool-0.1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

submit_tool-0.1.0-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page