Skip to main content
# Job Submitter


[![conda](https://img.shields.io/conda/dn/ostrokach/jobsubmitter.svg)](https://anaconda.org/ostrokach/jobsubmitter/)
[![docs](https://img.shields.io/badge/docs-v0.1.0-blue.svg)](https://ostrokach.gitlab.io/jobsubmitter/)
[![build status](https://gitlab.com/ostrokach/jobsubmitter/badges/master/build.svg)](https://gitlab.com/ostrokach/jobsubmitter/commits/master/)
[![coverage report](https://gitlab.com/ostrokach/jobsubmitter/badges/master/coverage.svg)](https://gitlab.com/ostrokach/jobsubmitter/commits/master/)

Package for running jobs on Sun Grid Engine (SGE) / PBS / Slurm clusters.

## Goals

- Provide an easy way to submit batch jobs from within a Jupyter notebook running on one of the nodes in the cluster.

## Example

```python
from jobsubmitter import JobOpts, JobSubmitter

JOB_ID = 'job_0'

ENV = {
'PATH': '/home/kimlab1/strokach/anaconda/bin:/usr/local/bin:/usr/bin:/bin',
'OMP_NUM_THREADS': '1',
}

jo = jobsubmitter.JobOpts(
job_id=JOB_ID,
working_dir=Path.cwd(),
nproc=1,
queue='medium',
walltime='24:00:00',
mem='16G',
env=ENV,
)
js = jobsubmitter.JobSubmitter('localhost')

futures = js.submit(system_commands, jo, deplay=0.1)
```

## Contributing

- Make sure all tests pass before merging into master.
- Follow the PEP8 / PyFlake / Flake8 / etc. guidelines.
- Add tests for new code.
- Try to document things.
- Break any / all of the above if you have a good reason.


# History

## 0.0.2 (2018-02-21)

* First release on PyPI.


Metadata

Release files for jobsubmitter 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for jobsubmitter 0.1.0
File Interpreter ABI Platform Actions
jobsubmitter-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for jobsubmitter-0.1.0-py2.py3-none-any.whl

Release files / jobsubmitter-0.1.0-py2.py3-none-any.whl

Download URL jobsubmitter-0.1.0-py2.py3-none-any.whl
Size 11.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cf347e71c89f80306a90b5e57a66afeeca65d593cd68813355975c1298fa6d64
BLAKE2b-256 checksum
How to use checksums
dc4133edca7bba722068d9b86735ec4086cbf3b46f281b14aa57dbfae3e23fc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jobsubmitter 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page