Skip to main content

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

  1. Increment version in src/plislurmtool/__init__.py and push it as a commit
  2. Use the github UI to create a new release (use tag v<VERSION>, e.g., v1.0.0)

Alternatively, here are the manual steps

  1. Increment version as above
  2. Add tag git tag v1.0.0
  3. Push git push && git push origin v1.0.0
  4. rm -r dist/** && python -m build
  5. pipx run twine check dist/**
  6. 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)

Source distribution for pli-slurm-tool 1.1.2
File Size Uploaded
pli_slurm_tool-1.1.2.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pli-slurm-tool 1.1.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

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