Skip to main content

Multi-scheduler job dispatcher

Project description

Description

The Chore dispatcher is a multi-job scheduler module for sending jobs to different systems. It was developed to help manage bioinformatics jobs in a django website environment. But should equally work well outside of django.

How to Use the Module

A simple example:

from chore.shell import JobManager

manager = JobManager()
manager.submit('job_1', 'wait 10')

Basic options example:

manager = JobManager(pipedir='/specific/stash_dir', batch=True)
manager.submit('job_1', cmd='wait 10')

A slurm example:

from chore.slurm import JobManager

manager = JobManager('/tmp/stash_dir', batch=True)
manager.submit('job_1', 'wait 10', provide='job_2')
manager.submit('job_2', 'wait 20', depend='job_1')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for chore, version 0.8.11
Filename, size File type Python version Upload date Hashes
Filename, size chore-0.8.11.tar.gz (18.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page