A Python package for interactive slurm squeue
Project description
Description
This project is a Python-based terminal application designed for managing and interacting with SLURM jobs. It provides a user-friendly interface to view, navigate, and manage SLURM job queues using a curses based graphical interface. Features include viewing job details, cancelling jobs, and refreshing job lists, all through a convenient text-based interface.
The program leverages Python's curses library for the terminal UI, subprocess for interacting with SLURM commands, and follows object-oriented programming principles for modular and maintainable code.
Features
View SLURM job queues in a structured, table-like format. Navigate through the job list with keyboard controls. Cancel jobs with a confirmation dialog. Refresh job list dynamically. Popup windows for displaying messages and confirmations.
Installation
To install this application, you can use the following command:
pip install sqpy
Usage
After installation, the application can be launched by running its command in the terminal:
Keyboard Controls:
UP ARROW: Move up in the job list. DOWN ARROW: Move down in the job list. Ctrl + K: Open the cancel job dialog for the selected job. Ctrl + R: Refresh the job list. Q: Quit the application.
Dependencies
Python 3.6 or higher
Contributing
Contributions to this project are welcome! To contribute, please follow these steps:
Fork the repository.
Create a new branch for your feature. Add your changes and commit them. Push to your branch and submit a pull request.
License
This project is licensed under the GPL3 - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sqpy-0.0.3.tar.gz
.
File metadata
- Download URL: sqpy-0.0.3.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
270d6e03df7d741f4e2518b01a1b4cae5e88aca4ebf66c424a58ce8a4e6d9490
|
|
MD5 |
34f35f6d916ed5a7618aada85fa04d43
|
|
BLAKE2b-256 |
2613d7abd524d23bda14da3759f1fcf485bea9caa3c8dc5e1d6920591291ef69
|
File details
Details for the file sqpy-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: sqpy-0.0.3-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5c52fb69a324bbc0774dd8134aeb7aff96e2869d9a7e63de57aaec65c3e23ad7
|
|
MD5 |
3e5388a5a5b21c3513f3ea201f3a5af6
|
|
BLAKE2b-256 |
583d5a58d74d8a1d17c8727a517b65cb1dd454ea6eda53ff596936615a95a258
|