Skip to main content

PySlurm Logo

pyslurm is the Python client library for the Slurm Workload Manager

Requirements

  • Slurm 26.05.x — shared library and header files
  • Python >= 3.6

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
26.05.x 26.05.x
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!

Metadata

Release files for pyslurm 26.5.0

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

Source distribution (sdist)

Source distribution for pyslurm 26.5.0
File Size Uploaded Provenance Actions
pyslurm-26.5.0.tar.gz 264.3 kB With provenance Details for pyslurm-26.5.0.tar.gz

Release files / pyslurm-26.5.0.tar.gz

Download URL pyslurm-26.5.0.tar.gz
Size 264.3 kB
Tags Source
SHA-256 checksum
How to use checksums
eb94227265ffce5cb59c229268385e973d5e34ab6bde29cae06800cc4ed2cf2f
BLAKE2b-256 checksum
How to use checksums
c049726bdcadeac0352e32ad0ec7d454872f5bdee2276860b94980b13e8a30de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for pyslurm 26.5.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.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for pyslurm-26.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

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.

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