Job Management Controller
Project description
Python-controlled job execution across multiple platforms
Installation
$> git clone https://github.com/fsimkovic/pyjob.git
$> cd pyjob
$> python setup install
Examples
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()
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()
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
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
pyjob-0.1.1.tar.gz
(12.0 kB
view hashes)