enjoy-slurm
enjoy-slurm is a naive slurm control package for python. It does interact with Slurm exactly as any user would do, simply through the command
line tools and arguments. That's why we call it naive. However, it should avoid having to rewrite some scripts required to submit and control many
Slurm jobs on an HPC computer. This package is a successor of the retired HPC scheduler package.
Features
- Use
sbatch,sacct,scontroletc. directly from python with a pythonic API. - Parse command outputs into python objects like pandas DataFrames or dictionaries.
Examples
import enjoy_slurm as slurm
jobid = slurm.sbatch("job.sh", partition="compute", account="my_account")
acct = slurm.sacct(jobid=jobid)
# run another job that depends on the first
jobid1 = slurm.sbatch(
"another_job.sh", dependency=jobid, partition="shared", account="my_account"
)
acct1 = slurm.sacct(jobid=jobid1)
Related projects
Project based on the cookiecutter science project template.
Metadata
Release files for enjoy-slurm 0.1.3
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 |
|---|---|---|---|---|
| enjoy_slurm-0.1.3.tar.gz | 28.5 kB | Without provenance | Details for enjoy_slurm-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| enjoy_slurm-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for enjoy_slurm-0.1.3-py3-none-any.whl |
Total release size: 43.3 kB
Release files / enjoy_slurm-0.1.3.tar.gz
| Download URL | enjoy_slurm-0.1.3.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5ff90984cb5c4d2e0bc8630552aa66ebbaa02fd982d8a69430c2d88baa5632f
|
|
BLAKE2b-256 checksum How to use checksums |
d6d9057b6e0631740e789eafcc65466c0163cddaa254f9993528c3f7e7b54c12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / enjoy_slurm-0.1.3-py3-none-any.whl
| Download URL | enjoy_slurm-0.1.3-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e169cb79a564eb4674336ef6a706315a1eda79d2053304ad68aab59455d064fe
|
|
BLAKE2b-256 checksum How to use checksums |
d3c7ddc65fd69c380f3ecf5d38b314d8273a48cf9ec8d77d3933609b4e753b7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for enjoy-slurm 0.1.3
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.