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.1.tar.gz (11.3 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.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file pli_slurm_tool-1.1.1.tar.gz.

File metadata

  • Download URL: pli_slurm_tool-1.1.1.tar.gz
  • Upload date:
  • Size: 11.3 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.1.tar.gz
Algorithm Hash digest
SHA256 fed36f8b1734f1e694f4a231b04080a12aa6ee482047bb684e3c5e3658785eba
MD5 5519ec0040474c99a29d2fec9d772e3f
BLAKE2b-256 6ee274a799bf6488709f754ad76d912c0f390ecd1550082e6f5e630067939182

See more details on using hashes here.

File details

Details for the file pli_slurm_tool-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pli_slurm_tool-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9caeac9219cdd527678691c5c36ba6f8ad187dfdfcb2a9ae3651024ec01dda1
MD5 bbe8fb8be073f27a5fdd5aef6c45c32a
BLAKE2b-256 4b628fb9303f8dfb06a4ad596f7b08bd13c95a1223f3b380ce35468ba85588da

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