Skip to main content

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

  1. Create a virtual environment (optional but recommended):

    python3 -m venv venv
    source venv/bin/activate
    
  2. 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nvhtop_tui-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

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

Hashes for nvhtop_tui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dac674c3c02da3b0cbd55fb28991bca72d68b26f851554cae2399e07694c224b
MD5 3508b4c66f5ce94fd90bb673944c5288
BLAKE2b-256 a2dc79b97abc020df026553a66a863e2f44ef3b91630904cca735ec14e219fff

See more details on using hashes here.

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

Hashes for nvhtop_tui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08a15ad331a6bb04d1e3f23564adfd7fbf7f8c2ba6c0dbb51fe2435a6afc6b37
MD5 e59f6b7c075e4a8ff392e28e80b60a4e
BLAKE2b-256 aedc772c6a3a348bf7e0e5f83ab532d618e23509d332d26ece64051cc4a98474

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