No project description provided
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pli_slurm_tool-1.1.2.tar.gz.
File metadata
- Download URL: pli_slurm_tool-1.1.2.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8483edeb4d6de19f350d3cd8d5b73a82a84f772e51428cd7be4246a59b18feb
|
|
| MD5 |
58d0ff8223a6986a283e11d84c86c905
|
|
| BLAKE2b-256 |
97a2d82fa03d66a4cc0bc6525f7cde806a6472ecf594772c785ba90b690d02e5
|
File details
Details for the file pli_slurm_tool-1.1.2-py3-none-any.whl.
File metadata
- Download URL: pli_slurm_tool-1.1.2-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fe402f76228f236901c9c6f64648fd82f42b3cd0969fd2d4d5831f210f2f5f1
|
|
| MD5 |
558600f3185e2858c0fb474594a796b6
|
|
| BLAKE2b-256 |
11ab9444de7fc839e07b996c1cf835eb593db5e2848463345127a99a88fdcaa8
|