sgeparse
Simple python module for parsing the output of SGE qstat. There is only one top level function: get_jobs which returns a list of dictionaries of currently queued (running or waiting) jobs.
Requirements
The only requirements are Python version 2.7+ or 3.3+. All code uses the standard library. The binary qstat must be available and in your $PATH.
Example
>>> from sgeparse import get_jobs
>>> jobs = get_jobs()
>>> # => {"name": "jobname", "owner": "me", ... }
The user argument can be used to specify which user to query:
>>> from sgeparse import get_jobs
>>> jobs = get_jobs(user='nobody')
>>> # => {"name": "jobname", "owner": "nobody", ... }
Available keys
job_number
priority
name
owner
state
start_time
queue
host
slots
Metadata
Release files for sgeparse 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sgeparse-0.0.2.tar.gz | 2.5 kB | Without provenance | Details for sgeparse-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sgeparse-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for sgeparse-0.0.2-py2.py3-none-any.whl |
Total release size: 6.7 kB
Release files / sgeparse-0.0.2.tar.gz
| Download URL | sgeparse-0.0.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66b232f734628868264426f7107b38f95a971a7d621bc83fef0b776aecdbe73d
|
|
BLAKE2b-256 checksum How to use checksums |
d3653d6af57687ba9f8f6a88a0a79f3cd99bed645e542f62b8dfd9a36e6c94ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / sgeparse-0.0.2-py2.py3-none-any.whl
| Download URL | sgeparse-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8cb486076be571d2707d4b359a9018911b87aef1a7aab76f7b8b97e003f4a3f2
|
|
BLAKE2b-256 checksum How to use checksums |
04469ee1dbd666db4e1d4d2fce7a347f594667c7c159ac58464bfe147dee76e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sgeparse 0.0.2
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.