A htop-like utility for NVIDIA GPUs implemented in Python using Textual and pynvml
Project description
NVHTop
A htop-like utility for NVIDIA GPUs implemented in Python using Textual and pynvml.
Features
- Real-time GPU Stats: View utilization, memory usage, temperature, fan speed, and power draw for all NVIDIA GPUs.
- Process List: Live list of processes running on the GPU with memory usage.
- Modern TUI: Built with Textual for a premium terminal user interface experience.
Installation
-
Create a virtual environment (optional but recommended):
python3 -m venv venv source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
Usage
Run the utility:
python main.py
Or using the provided script:
./run.sh
Shortcuts
q: Quit the application.k: Kill the selected process (opens confirmation dialog).
Requirements
- NVIDIA Driver installed
- Python 3.8+
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
nvhtop_tui-0.1.0.tar.gz
(5.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nvhtop_tui-0.1.0.tar.gz.
File metadata
- Download URL: nvhtop_tui-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dac674c3c02da3b0cbd55fb28991bca72d68b26f851554cae2399e07694c224b
|
|
| MD5 |
3508b4c66f5ce94fd90bb673944c5288
|
|
| BLAKE2b-256 |
a2dc79b97abc020df026553a66a863e2f44ef3b91630904cca735ec14e219fff
|
File details
Details for the file nvhtop_tui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nvhtop_tui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08a15ad331a6bb04d1e3f23564adfd7fbf7f8c2ba6c0dbb51fe2435a6afc6b37
|
|
| MD5 |
e59f6b7c075e4a8ff392e28e80b60a4e
|
|
| BLAKE2b-256 |
aedc772c6a3a348bf7e0e5f83ab532d618e23509d332d26ece64051cc4a98474
|