pli-slurm-tool
Script to monitor PLI partitions of the Princeton clusters
Usage
Install the pipx package in your environment: e.g. pip install pipx.
# User-level quota checking for PLI-CP QoS
pipx run pli-slurm-tool cp-quota-check
Admin usage
- Admin-level quota management for PLI-CP QoS
pipx run pli-slurm-tool cp-monitor-admin(to be executed every ~30 mins) - Admin-level usage stats for PLI-CP QoS
pipx run pli-slurm-tool cp-quota-report-admin
Please add gmail username and app password to your system environment variables to enable email notifications to users:
export EmailUsername=XXX
export Password=XXX
Development setup
pip install pre-commit
pre-commit install
pip install --editable .
In order to release a new version
- Increment version in
src/plislurmtool/__init__.pyand push it as a commit - Use the github UI to create a new release (use tag
v<VERSION>, e.g.,v1.0.0)
Alternatively, here are the manual steps
- Increment version as above
- Add tag
git tag v1.0.0 - Push
git push && git push origin v1.0.0 rm -r dist/** && python -m buildpipx run twine check dist/**pipx run twine upload dist/**
Ask Kilian for API key
Metadata
Release files for pli-slurm-tool 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pli_slurm_tool-1.1.2.tar.gz | 11.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pli_slurm_tool-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.4 kB
Release files / pli_slurm_tool-1.1.2.tar.gz
| Download URL | pli_slurm_tool-1.1.2.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8483edeb4d6de19f350d3cd8d5b73a82a84f772e51428cd7be4246a59b18feb
|
|
BLAKE2b-256 checksum How to use checksums |
97a2d82fa03d66a4cc0bc6525f7cde806a6472ecf594772c785ba90b690d02e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / pli_slurm_tool-1.1.2-py3-none-any.whl
| Download URL | pli_slurm_tool-1.1.2-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fe402f76228f236901c9c6f64648fd82f42b3cd0969fd2d4d5831f210f2f5f1
|
|
BLAKE2b-256 checksum How to use checksums |
11ab9444de7fc839e07b996c1cf835eb593db5e2848463345127a99a88fdcaa8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|