Run batch scripts in a managed way
Project description
pip install jobx
Magical tool to run batch tasks.
Get Started
- install jobx :
pip install -U -i https://pypi.org/simple jobx
. - create task config file,it's recommended to name as
jobx.yaml
. - run tasks (presume that the name is
jobx.yaml
).- run all tasks:
jobx *
(jobx \*
on Linux/MacOS). - run specific task:
jobx task-name
. - run multiple tasks:
jobx t1,t2
(task names are split by,
, no space). - run tasks with matching names:
jobx tasks.yaml *plugin*install
(matching like fnmatch).
- run all tasks:
If the config file name is not the default one (jobx.yaml
), you need to specify the name with -f
flag. For example,
jobx -f my-task.yaml task1
.
Acknowledgement
- jinja2
- python-fire
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 Distribution
jobx-0.0.2.9.tar.gz
(9.5 kB
view details)
Built Distribution
jobx-0.0.2.9-py3-none-any.whl
(12.5 kB
view details)
File details
Details for the file jobx-0.0.2.9.tar.gz
.
File metadata
- Download URL: jobx-0.0.2.9.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4496f606d40c5844d6a9d24978a1be90721c15e8c55e2762b5628dd149f7705 |
|
MD5 | 6b2f262d580efefe8b00aa79d5c726e6 |
|
BLAKE2b-256 | 5d9f00cae23640e5b1c24ec824f4e92ad25fa12ccc16e17a0595af2f6b74a06d |
File details
Details for the file jobx-0.0.2.9-py3-none-any.whl
.
File metadata
- Download URL: jobx-0.0.2.9-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37f966dcecbd1a0a53784c876ab847d7f6c8b58c7a942fee8e1e462e809aba69 |
|
MD5 | eef0a2907add4183a2e050adbab55cf1 |
|
BLAKE2b-256 | 9491fec56f84ffbc6f8673d3bf46b2720baf7a30a31901450e1f8f2bf6541c94 |