slurmio
Python tools to read SLURM job parameters.
Installation
Pip
pip install slurmio
Conda
conda install -c conda-forge slurmio
From source:
git clone https://github.com/neuroinformatics-unit/slurmio
cd slurmio
pip install .
Usage
>>> from slurmio import SlurmJobParameters
>>> slurm_parameters = SlurmJobParameters()
>>> slurm_parameters.job_id
994986
>>> slurm_parameters.job_name
'bash'
>>> slurm_parameters.partition
'cpu'
>>> slurm_parameters.requested_cores
10
>>> slurm_parameters.allocated_cores
10
>>> slurm_parameters.requested_nodes
10
>>> slurm_parameters.allocated_nodes
10
>>> slurm_parameters.requested_memory
10240 # in bytes
>>> slurm_parameters.allocated_memory
10240 # in bytes
Metadata
Release files for slurmio 0.1.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 |
|---|---|---|---|---|
| slurmio-0.1.2.tar.gz | 5.8 kB | Without provenance | Details for slurmio-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| slurmio-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for slurmio-0.1.2-py3-none-any.whl |
Total release size: 10.2 kB
Release files / slurmio-0.1.2.tar.gz
| Download URL | slurmio-0.1.2.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24bb87f08da0ca2d5e466204af37f4df3d869009cf012af28246b9dcb4cd380a
|
|
BLAKE2b-256 checksum How to use checksums |
476ff37446868a8838938255b72eb1cd0c8deb2ed922432596b126f93af88925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / slurmio-0.1.2-py3-none-any.whl
| Download URL | slurmio-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba8d2738f347b70d5f923a67f45cd2caffe917f0c0b974a22fb32c619773bcb5
|
|
BLAKE2b-256 checksum How to use checksums |
bb237f3245a21daba1360a5ec3de6298023ac4ba6865df628f98c7dbac258596
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for slurmio 0.1.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.