Skip to main content

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.

Reason this release was yanked:

Bug

Project description

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)

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

runrunner-0.2.0.tar.gz (16.4 kB view details)

Uploaded Source

File details

Details for the file runrunner-0.2.0.tar.gz.

File metadata

  • Download URL: runrunner-0.2.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.4

File hashes

Hashes for runrunner-0.2.0.tar.gz
Algorithm Hash digest
SHA256 51767cda506f83c49d9b7e0e22cc20371f85c67db3be4e01f0b65f732d098fcd
MD5 dd46f773e383683428b29ff04cd0666d
BLAKE2b-256 3ff31465de47d1a04c6200d4cf0d79dd89b21678cd496f290fec25c011325978

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