Skip to main content

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

python_churn-1.0.2.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_churn-1.0.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file python_churn-1.0.2.tar.gz.

File metadata

  • Download URL: python_churn-1.0.2.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for python_churn-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4fcff519f61a4967bb8ea1d34bc71f1b54520e7b4d10bda5137c286fd331c15b
MD5 d3d32701498d1b8e1cc6a49985b8e59d
BLAKE2b-256 a768b1a5a7cae48958b22a13013f8b05edb48799c542e220a0ca67bc0ee98bb4

See more details on using hashes here.

File details

Details for the file python_churn-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for python_churn-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db553cf95343e09e3a5fecf50767edbd2ac0fd52dcea1b3df2d7bbebf5520674
MD5 1c0b59f1f2b74c7bbde5a8a94e0fad09
BLAKE2b-256 eec90000f898929e4d878a2f574251c223eae353b4adfe896e6c05659eda22dc

See more details on using hashes here.

Supported by

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