Skip to main content

Python Version PyPI Downloads Development Status Tests codecov

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slurmio-0.1.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slurmio-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file slurmio-0.1.2.tar.gz.

File metadata

  • Download URL: slurmio-0.1.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for slurmio-0.1.2.tar.gz
Algorithm Hash digest
SHA256 24bb87f08da0ca2d5e466204af37f4df3d869009cf012af28246b9dcb4cd380a
MD5 466b001ddb7723b1c361d4ad237ed85a
BLAKE2b-256 476ff37446868a8838938255b72eb1cd0c8deb2ed922432596b126f93af88925

See more details on using hashes here.

File details

Details for the file slurmio-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: slurmio-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for slurmio-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba8d2738f347b70d5f923a67f45cd2caffe917f0c0b974a22fb32c619773bcb5
MD5 f8c36ec028f69dfed31049d704e228ae
BLAKE2b-256 bb237f3245a21daba1360a5ec3de6298023ac4ba6865df628f98c7dbac258596

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page