Skip to main content

Constella backend with a keyboard-first Textual terminal interface.

Project description

Constella TUI

constella-gpu-tui installs the Constella backend together with its keyboard-first Textual terminal client. It reads the realtime /ws/cluster stream and historical analytics APIs, so live monitoring and completed workloads stay available in one terminal workspace.

Constella natively supports heterogeneous accelerator clusters. Version 0.1.2 supports NVIDIA GPUs and Ascend NPUs.

Views

  • Overview — compact node/GPU navigation, selected-GPU processes, telemetry, and a live Braille dot curve.
  • Cluster — complete node inventory and the selected node's hardware details.
  • Rankings — user GPU-hours, jobs, and anomaly rankings from persisted analytics.
  • History — utilization and memory dot curves plus a GPU-by-time utilization heatmap.

Rankings and History require the manager database. They show an explicit unavailable state when the manager was started with --no-db.

Run

Install the TUI-focused distribution:

pip install constella-gpu-tui

Start a backend locally, then open the TUI:

constella service start
constella tui
# or
constella-tui

Connect to a remote manager through an SSH tunnel or a directly reachable endpoint:

constella tui --url http://127.0.0.1:8765
constella-tui --url https://gpu.example.com

CONSTELLA_URL can provide the default manager URL.

Keyboard

Key Action
14 Open Overview, Cluster, Rankings, or History
Tab, Shift+Tab Move focus
Arrow keys, j, k Move through nodes and table rows
n, g Select the next node or GPU
[, ] Select the previous or next analytics time range
r Reconnect immediately
? Open keyboard help
q Quit

The selected node and GPU survive realtime refreshes and remain shared across views. The client reconnects automatically after a dropped connection. No agent token is needed because these read-only endpoints follow the same access boundary as the Web UI.

Use constella-gpu when both Web and TUI frontends are wanted, or constella-gpu-backend for an API-only installation.

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

constella_gpu_tui-0.1.2.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

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

constella_gpu_tui-0.1.2-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file constella_gpu_tui-0.1.2.tar.gz.

File metadata

  • Download URL: constella_gpu_tui-0.1.2.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for constella_gpu_tui-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f906630add6729ce2d05e8b3644a8c2925b55cb37601e4fa6b7302f298fec388
MD5 4ecd694b193863d22dd6e952324facb3
BLAKE2b-256 630ed436537ab2d5e4b739598ad8b7fb90a216f83633b0402a2d3b84cc2987ef

See more details on using hashes here.

File details

Details for the file constella_gpu_tui-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: constella_gpu_tui-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for constella_gpu_tui-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 815a7c106a428c8b1249feb6b99126f0675a01a88ef82629c2cc256139ab28ce
MD5 4f133d0c1769832e105c44c0c84a77c4
BLAKE2b-256 82c105e403ffc75ef5546442782710646dccfaf20e43a49289aabc0a0e6a1d88

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