Skip to main content

JIP pipeline library

Project description

JIP Pipeline system

The JIP pipeline system is a python library and a set of command line utilities that allows you to create batch-process based computational pipeline that can be submitted and managed on a compute cluster or on your local machine.

Installation

The JIP documentation contains more detailed instructions on installation and, more importantly, configuration of the system and your compute infrastructure. Here is the very quick guide:

$> pip install pyjip

or

$> python setup.py install

If you want to install from pypi or the git repository. Afterwards, you have to create configuration file $HOME/.jip/jip.json and add the following content:

{
    "cluster": "<class_name>"
}

Replace <class_name> with the name of the class that implements support for your compute cluster. JIP ships with the following implementations:

  • jip.cluster.SGE for Sun Grid Engine

  • jip.cluster.Slurm for Slurm

  • jip.cluster.PBS for PBS and Torque

  • jip.cluster.LSF for Platform LSF and Open Lava

  • jip.grids.JIP for JIPs’ internal scheduler. If you use this, make sure to start the JIP server on the same machine using the jip server command. Please note also that you have to install pyzmq if you want to run the JIP server.

Documentation

Documentation on installation and usage can be found at http://pyjip.readthedocs.org/en/latest/.

Source Code

The JIP source code can be found on GitHub.

Bugs and feature requests

Please feel free to use the issue tracker to file bug reports and feature requests.

Changelog

0.6:
  • Add MySQL support [Issue #53]

  • Hidden options are not resolved when called explicitly [Issue #51]

  • Add option to select memory unit for SGE [Issue #46]

  • If a non-existing option is referenced in a script template, an AttributeError is raised [Issue #43]

  • Wrong unit for memory when submitting to SGE [Issue #40]

0.5:
  • Enable rendering of log file location using pipeline and tools options [Issue #39]

  • Options embedded in command scripts are not made absolute [Issue #38]

  • Make sure that working directories of jobs are created when jobs are executed or submitted [Issue #37]

  • Allow for dynamic options when a tool is added to a pipeline [Issue #35]

  • Configuration is not picked up next to the binary [Issue #34]

  • The API example runs the jobs but a jip clear fails on the generated jobs [Issue #30]

  • Working directory is not passed on from profile to job [Issue #29]

  • Add a thread parameter to the server to control the number of slots [Issue #28]

  • Option value assignment through options attributes is does not set the value [Issue #26]

  • Option descriptions are not handling tabs at the beginning correctly [Issue #24]

  • JIP tools script with . in the name are not parsed correctly. [Issue #23]

  • Restarting a single job pipeline and changeing the threads is not reflected in the job [Issue #6]

  • Make tool specs available to pipelines [Issue #4]

0.4:
  • Create a pipe command to write quick pipeline directly from the command line [Issue 22]

  • Inconsistency between job().bash() and bash() usage in pipeline [Issue 20]

  • Add links to job and pipeline iteration to delete functions in jip.db and jip.jobs [Issue 19]

  • Enable parsing of memory assignments in profiles and add support for G M and K suffixes [Issue 18]

  • “jip logs” called without argument returns an error instead of “usage” [Issue 16]

  • Tool cleanup fails if the output points to a directory [Issue 10]

  • Option parsing fails when multiple list options are specified and one is optional and not set [Issue 8]

  • jip restart jobs fails as the job detects itself and refuses to submit again [Issue 7]

  • jip jobs with selected output duplicates columns [Issue 5]

0.3 :
  • Added auto-naming support for anonymous jobs that are assigned to variables. The variable name is used as default job name

  • Lots of changes to the internals

0.2 :
  • Added explicit UTF-8 encoding for the dependency tree

0.1 : Initial release

Licences

JIP is licensed under the BSD license.

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

pyjip-0.6.tar.gz (165.3 kB view details)

Uploaded Source

File details

Details for the file pyjip-0.6.tar.gz.

File metadata

  • Download URL: pyjip-0.6.tar.gz
  • Upload date:
  • Size: 165.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyjip-0.6.tar.gz
Algorithm Hash digest
SHA256 bee37e2fcaf5b903b058fe297878fdf1bf1756478ae985e8e93b71cf43d5db3f
MD5 131881e109020f4403bcf68ec114a7c6
BLAKE2b-256 22fd3d9079e4a4c76c5f3eaddae4b83fd265c7cd87d2cb27ff9c2e1993db477c

See more details on using hashes here.

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