Python Interface for Slurm
Project description
pyslurm is the Python client library for the Slurm Workload Manager
Requirements
Versioning
PySlurm uses the format X.Y.Z where X.Y tracks the Slurm major release
and Z is PySlurm's own patch increment, reset to 0 on each new Slurm
major release.
| PySlurm | Slurm |
|---|---|
| 25.11.x | 25.11.x |
| 24.05.x | 24.05.x |
| 23.11.x | 23.11.x |
Installation
PySlurm requires the Slurm development headers and shared library at build time.
Slurm header and library paths
If you have slurm-devel installed in the default paths, skip this section.
By default, PySlurm looks in:
/usr/include— for Slurm header files (slurm/slurm.h)/usr/lib64— for the Slurm shared library (libslurmfull.so)
If your Slurm installation is not in the default paths, set these before installing:
export SLURM_INCLUDE_DIR=/path/to/slurm/include
export SLURM_LIB_DIR=/path/to/slurm/lib
From PyPI
pip install pyslurm
From source
git clone https://github.com/PySlurm/pyslurm.git && cd pyslurm
scripts/build.sh
Use -j to build with multiple cores (or set PYSLURM_BUILD_JOBS):
scripts/build.sh -j4
Contributors
pyslurm is made by contributors like you.
Support
Feel free to ask questions in the GitHub Discussions
Found a bug or you are missing a feature? Feel free to open an Issue!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyslurm-25.11.2.tar.gz.
File metadata
- Download URL: pyslurm-25.11.2.tar.gz
- Upload date:
- Size: 260.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e0e4bc639ea3177591b102b77c1dd8df55a9e411ac42ef339a4adb3908cca34
|
|
| MD5 |
14e352562137d068cfad67b274a445ff
|
|
| BLAKE2b-256 |
ec98a21527c61b4d758b27c5d8d2a049023497f450c283d07594b0623ba60da0
|
Provenance
The following attestation bundles were made for pyslurm-25.11.2.tar.gz:
Publisher:
pyslurm.yml on PySlurm/pyslurm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyslurm-25.11.2.tar.gz -
Subject digest:
6e0e4bc639ea3177591b102b77c1dd8df55a9e411ac42ef339a4adb3908cca34 - Sigstore transparency entry: 1312291741
- Sigstore integration time:
-
Permalink:
PySlurm/pyslurm@b76f1867e5256edf3e8c4cd467edf99d79e46988 -
Branch / Tag:
refs/tags/v25.11.2 - Owner: https://github.com/PySlurm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pyslurm.yml@b76f1867e5256edf3e8c4cd467edf99d79e46988 -
Trigger Event:
release
-
Statement type: