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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chore-0.8.16.tar.gz
(19.6 kB
view details)
File details
Details for the file chore-0.8.16.tar.gz
.
File metadata
- Download URL: chore-0.8.16.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3a3405591eb31734b096ea9d9d237e22901ed7c826c916042739e04f34c36c7 |
|
MD5 | 569945dcba829eb63e731d5a066e1ca3 |
|
BLAKE2b-256 | f81a265711f31e326d9fd38007a3bbc1e77d5ddd31e93102b7af47202c967ec4 |