Skip to main content

A htop-like utility for NVIDIA GPUs implemented in Python using Textual and pynvml

Project description

NVHTop-TUI

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

You can install nvhtop-tui directly from PyPI:

pip install nvhtop-tui

Manual Installation (Development)

  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

If installed via pip:

nvhtop-tui

If running from source:

python main.py

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.1.tar.gz (6.0 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.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file nvhtop_tui-0.1.1.tar.gz.

File metadata

  • Download URL: nvhtop_tui-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 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.1.tar.gz
Algorithm Hash digest
SHA256 9bfa5416f8896fe4da99111b17467b87e383ec8504e43914ad21838d6cf18af4
MD5 f3c8fb48d3e6b6f7fef6ce5b9a6ad652
BLAKE2b-256 5f7c10874abe3f96586adfb7bf5a6b27e4eef960299fb2f40dfcedae412f50e9

See more details on using hashes here.

File details

Details for the file nvhtop_tui-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nvhtop_tui-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b50f293d18215ccd865f8af2b95a8ba50883c900f8df71f42b3b8da935f0c5af
MD5 d4ea6efaba79dbc54177a2f2c44207e9
BLAKE2b-256 d3c9349c47126e265a81820ebb40eabf00c37d7a69230cf861b9367a893bb3fb

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