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.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 richqueue 1.12.2
File Size Uploaded Provenance Actions
richqueue-1.12.2.tar.gz 27.7 kB Without provenance Details for richqueue-1.12.2.tar.gz

Built distribution (wheel)

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

Total release size: 57.7 kB

Release files / richqueue-1.12.2.tar.gz

Download URL richqueue-1.12.2.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
21ceebc1a4c46cf05d5fd6d387f36e943a03146a732a8feb9dffbfd0559e9bcc
BLAKE2b-256 checksum
How to use checksums
22afb080d501d11a9b70aa5c7ed33045fe973f9084c03212494b675fd4bc78a5
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.2-py3-none-any.whl

Download URL richqueue-1.12.2-py3-none-any.whl
Size 30.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10cd1baf7fb19a6c48bf8c4b31afc220b2ed922f2d81ebcc5afcc0f93eaa63ab
BLAKE2b-256 checksum
How to use checksums
22e991d646e990c5e78dc985cbd659ec59f750da655590531a258d5a2fea6e7c
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.2

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