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.

Source Distribution

chore-0.8.6.tar.gz (17.9 kB view details)

Uploaded Source

File details

Details for the file chore-0.8.6.tar.gz.

File metadata

  • Download URL: chore-0.8.6.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for chore-0.8.6.tar.gz
Algorithm Hash digest
SHA256 a5e24c4b6dbff29a1045c31c0275e4e5dc9b671478b4ee82504a85fd7e2216d2
MD5 bb4b4ea44f3fb8eab68ea6e7c3165049
BLAKE2b-256 c72a954c0b5208022fafc001b91877f43498c4e0bb579b987c6b5980c3790356

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