CHAin sluRM is a simple batch job runner.
Project description
Churn
Churn(corruption of Charm, Chain SLURM) is a simple Python batch job runner. It automates the process of creating parametrized batch jobs and submitting multiple dependent jobs.
Installation
PyPI
Via pip:
pip install python-churn
From source
Via uv:
uv sync
uv build
Usage
Churn can either be used as a command line tool or as a Python library. The command line tool runs a set of jobs using a YAML configuration file, whereas the library makes it easier to dispatch related jobs with varying parameters from within Python code.
You may find an exemplary configuration in the examples/basic directroy. This may either be run using
python -m churn examples/basic
or by executing the equivalent python file that does the required library calls:
python examples/basic.py
Schema
To make writing run.yaml files easier, Churn provides a schema that can be used to validate the configuration. The schema is located in schema/schema.json. You can use it with a YAML validator or editor that supports JSON Schema validation. For example in VSCode, you can add the following to your settings:
"yaml.schemas": {
"https://git.rwth-aachen.de/cats-gitolite/public/tools/churn/-/raw/main/schema/schema.json?ref_type=heads": "run.yaml"
}
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_churn-1.1.0.tar.gz.
File metadata
- Download URL: python_churn-1.1.0.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb5b8d666ce00e6fc6800e244e62d382e18b8aed270c8a350730a4e2113b7b36
|
|
| MD5 |
a8fcefce70a9a334d8d338e2dc29db7b
|
|
| BLAKE2b-256 |
a6ad4d4188b2fe64c0d6333f6036a110765013e291413eb82b6b5ab299ecb179
|
File details
Details for the file python_churn-1.1.0-py3-none-any.whl.
File metadata
- Download URL: python_churn-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa68ceb8c51fb2b8f58385320b0da0d3f43bf6a8e958ab10c3d42db1c3b8b87f
|
|
| MD5 |
34b62c1aa792ab8565d0f96e37be4536
|
|
| BLAKE2b-256 |
f2abf983c5bba823ba70cc2d23267ba9ae4fb570b8072ad8d9b1bfff61d8d13d
|