Skip to main content

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

  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

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

pli_slurm_tool-1.1.2.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pli_slurm_tool-1.1.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

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

Hashes for pli_slurm_tool-1.1.2.tar.gz
Algorithm Hash digest
SHA256 b8483edeb4d6de19f350d3cd8d5b73a82a84f772e51428cd7be4246a59b18feb
MD5 58d0ff8223a6986a283e11d84c86c905
BLAKE2b-256 97a2d82fa03d66a4cc0bc6525f7cde806a6472ecf594772c785ba90b690d02e5

See more details on using hashes here.

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

Hashes for pli_slurm_tool-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0fe402f76228f236901c9c6f64648fd82f42b3cd0969fd2d4d5831f210f2f5f1
MD5 558600f3185e2858c0fb474594a796b6
BLAKE2b-256 11ab9444de7fc839e07b996c1cf835eb593db5e2848463345127a99a88fdcaa8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page