Skip to main content

RunRunner - A Python handler for managing (Slurm)Jobs

RunRunner is a wrapper library for creating and managing subprocesses and their status', mainly focussed on using Slurm but (in absence) can also work with local jobs.

Installation

Installation of the latest version is done using Pip:

pip install RunRunner

Usage

RunRunner works with 'queues', either the local version or Slurm version. To use RunRunner, simply add the bash call you want to be executed to the queue with:

``add_to_queue''

By specifying Runner (an Enum from base.py), RunRunner determines whether to add to the local queue (local.py) or Slurm (Slurm.py). To check what arguments each queue accepts, see the add_to_queue implementations at the top of each respective file. The call to the queue returns a structured object (a LocalRun or SlurmRun) containing the data regarding the subprocess. A run consists of one or more jobs which will contains the actual subprocess call. To start a run after creation, one can simply .submit the run and .wait for it to be done. To verify if everything went correctly, a .Status is supplied which uses .Status enum from base.py.

Credits

Developers:

  • Thijs Snelleman
  • Jeroen Rook
  • Koen van der Blom (Inactive)
  • Jeremy Gobeil (Original developer, inactive)

Metadata

Release files for RunRunner 0.2.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RunRunner 0.2.0.4
File Size Uploaded
runrunner-0.2.0.4.tar.gz 16.4 kB Details

Release files / runrunner-0.2.0.4.tar.gz

Download URL runrunner-0.2.0.4.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f9391a71c51f77641c4d751841f9f64ae48c970eb0cbc21e0654b54df3b84bd7
BLAKE2b-256 checksum
How to use checksums
5f4429b31e778cc73e49ef39abf7467aa768534ca7430b64920e941dccb32937
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.2.0.4 This release

1 release file

0.2.0.1

1 release file

0.2.0

1 release file

0.1.9.1

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7.1

1 release file

0.1.7

1 release file

0.1.6.4

1 release file

0.1.6.3

1 release file

0.1.6.2

1 release file

0.1.6.1

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page