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"
}
Metadata
Release files for python-churn 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_churn-1.1.2.tar.gz | 24.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_churn-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.7 kB
Release files / python_churn-1.1.2.tar.gz
| Download URL | python_churn-1.1.2.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16c51ada523287b446c3b2e4f4cb81d5fe9f39256af91a7c86b374bf30282594
|
|
BLAKE2b-256 checksum How to use checksums |
43226a23a5c43f77cc32f2e6ffe9190f0c9998cca45ebf718e4952751b010b1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.12
|
Release files / python_churn-1.1.2-py3-none-any.whl
| Download URL | python_churn-1.1.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9097ba7d4a1574791bca40c944df59865592936f052186e4bfe099f95ac39f56
|
|
BLAKE2b-256 checksum How to use checksums |
ad2e41545558f2e6e8bd8cf3fe05530e3a54fb27cf991c71d976ba9fffb54f4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.12
|