enjoy-slurm-0.0.4
توضیحات
naive python slurm control
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | enjoy-slurm-0.0.4 |
| نام | enjoy-slurm |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lars Buntemeyer |
| ایمیل نویسنده | lars.buntemeyer@hereon.de |
| آدرس صفحه اصلی | https://github.com/larsbuntemeyer/enjoy-slurm |
| آدرس اینترنتی | https://pypi.org/project/enjoy-slurm/ |
| مجوز | MIT |
enjoy-slurm
==============================
[](https://github.com/larsbuntemeyer/enjoy-slurm/actions)
[](https://codecov.io/gh/larsbuntemeyer/enjoy-slurm)
[](https://opensource.org/licenses/MIT)
[](https://pypi.org/project/enjoy-slurm)
[](https://enjoy-slurm.readthedocs.io/en/latest/?badge=latest)
[](https://results.pre-commit.ci/latest/github/larsbuntemeyer/enjoy-slurm/main)
`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](https://github.com/larsbuntemeyer/hpc-scheduler).
## Features
* Use `sbatch`, `sacct`, `scontrol` etc. directly from python with a pythonic API.
* Parse command outputs into python objects like pandas DataFrames or dictionaries.
## Examples
```python
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
* [pyslurm](https://github.com/PySlurm/pyslurm)
* [simple_slurm](https://github.com/amq92/simple_slurm)
* [ipyslurm](https://github.com/auneri/ipyslurm)
--------
<p><small>Project based on the <a target="_blank" href="https://github.com/jbusecke/cookiecutter-science-project">cookiecutter science project template</a>.</small></p>
نیازمندی
| مقدار | نام |
|---|---|
| - | pandas |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl enjoy-slurm-0.0.4:
pip install enjoy-slurm-0.0.4.whl
نصب پکیج tar.gz enjoy-slurm-0.0.4:
pip install enjoy-slurm-0.0.4.tar.gz