Skip to main content

Job Management Controller

Project description

Python-controlled job execution across multiple platforms

PyPi Package Python Versions Travis Build

Installation

$> git clone https://github.com/fsimkovic/pyjob.git
$> cd pyjob
$> python setup install

Examples

  1. To run a script called run.sh on a local machine

>>> from pyjob import Job
>>> j = Job('local')
>>> j.submit('run.sh', nproc=1)
>>> j.wait()
  1. To run a script called run.sh on a SGE management platform

>>> from pyjob import Job
>>> j = Job('sge')
>>> j.submit('run.sh')
>>> j.wait()
  1. To run a script called run.sh on a LSF management platform

>>> from pyjob import Job
>>> j = Job('lsf')
>>> j.submit('run.sh')
>>> j.wait()

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

pyjob-0.1.3.tar.gz (12.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page