Skip to main content

Job Management Controller

Project description

# PyJob

#### Python-controlled job execution across multiple platforms

[![Build Status](https://travis-ci.org/fsimkovic/pyjob.svg?branch=master)](https://travis-ci.org/fsimkovic/pyjob)

## Installation

`bash $> 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 `python >>> from pyjob import Job >>> j = Job('local') >>> j.submit('run.sh', nproc=1) >>> j.wait() `

2. To run a script called ‘run.sh’ on a SGE management platform `python >>> from pyjob import Job >>> j = Job('sge') >>> j.submit('run.sh') >>> j.wait() `

3. To run a script called ‘run.sh’ on a LSF management platform `python >>> 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.tar.gz (11.7 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