Skip to main content

RichQueue

💰 RichQueue: A colourful and pythonic SLURM queue viewer

Installation from a modern python environment (>3.10) should be as simple as:

pip install --upgrade richqueue

To see your live-updating SLURM queue:

rq

queue_example

Other rq options

To see more detail:

rq --long

To see someone else's queue:

rq --user USER

To see the last X weeks history:

rq --hist X

To see history for a given time period, e.g.:

rq --hist '3 days'

To list available nodes on the cluster:

rq --idle

To show a static view:

rq --no-loop

Monitoring log files

If you keep your SLURM log files in a specific directory exported as the LOGS variable, you can use RichQueue to monitor results as they come in with

res <JOB_ID>
Screenshot 2025-11-20 at 09 05 48

Changing to the working directory of a job

To change to the submission/working directory of a job:

cd $(res --dir <JOB_ID>)

You might find it convenient to add a shortcut to this to your login profile, e.g. .bashrc_user or .bash_profile:

res --install-jd >> ~/.bashrc_user
source ~/.bashrc_user

This will make the jd executable available. Change to the directory of the single active or most recently submitted job:

jd

Change to a specific job's directory:

jd <JOB_ID>

Submitting SLURM jobs

RichQueue also provides a convenient wrapper to the sbatch command which makes sure your log files end up in the directory specified by the LOGS variable, and prints a pretty summary of the submitted job. Just replace sbatch with sb. E.g.:

sb --job-name test script.sh --script-arg1

Would run this under the hood:

sbatch --output=$LOGS/%j.log --error=$LOGS/%j.log --job-name test script.sh --script-arg1

and display the following:

Screenshot 2025-11-20 at 10 37 19

Metadata

Release files for richqueue 1.12.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for richqueue 1.12.1
File Size Uploaded Provenance Actions
richqueue-1.12.1.tar.gz 27.7 kB Without provenance Details for richqueue-1.12.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for richqueue 1.12.1
File Interpreter ABI Platform Actions
richqueue-1.12.1-py3-none-any.whl Python 3 none any Details for richqueue-1.12.1-py3-none-any.whl

Total release size: 57.7 kB

Release files / richqueue-1.12.1.tar.gz

Download URL richqueue-1.12.1.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
12bb4d4db34bc7c5e6dc6f7604971d68413bc759c49045869d5726f6a83dbca0
BLAKE2b-256 checksum
How to use checksums
0d9fc80f2874548950f48f144f910a5b7eb3ed34b1c9fc4f49a1532aca417f7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / richqueue-1.12.1-py3-none-any.whl

Download URL richqueue-1.12.1-py3-none-any.whl
Size 30.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db614d3ea59f11723d3fb83ff2719fb2dbe1312291bffd8f8f78893a018ddd14
BLAKE2b-256 checksum
How to use checksums
1cf8d0a71b9902f0be3cecc7041fb540401dc24a0da6d7d9cacda5de5ee7bcd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for richqueue 1.12.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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