Skip to main content

Bootstrap installer for jetson-stats (jtop): isolated uv venv, system-wide symlink, and systemd service — never touches system site-packages

Project description

jtop-installer

jtop-installer installs or upgrades jetson-stats, which provides the jtop program for NVIDIA Jetson systems.

Installation

Choose one of the following installation commands:

uv

uvx jtop-installer

pipx

pipx run jtop-installer

curl

curl -LsSf https://raw.githubusercontent.com/whitesscott/jtop_installer/main/bootstrap.py | python3 -

Note: The curl method uses the system Python as the installer.

What this package does

jtop-installer installs or upgrades to the current release of jetson-stats / jtop in a uv virtual environment located at:

~/.local/share/jtop

The installer creates a fast, isolated uv virtual environment for jetson-stats. It does not modify Ubuntu's system Python environment, respecting the PEP 668 protections that prevent pip from conflicting with the apt system package manager. It never requires --break-system-packages.

Installation runs as your normal user. A single sudo prompt covers the system-level actions: removing root-owned __pycache__ directories created by sudo jtop, creating the jtop symlink, installing the systemd jtop.service unit, and creating the jtop group. Everything else — the virtual environment and jetson-stats itself — is installed in your home directory without root.

Fresh installation

If jetson-stats / jtop has never been installed, this package performs a fresh installation of the current jetson-stats release from source.

The installer:

  1. Bootstraps uv if it is missing by downloading the official installer using the Python standard-library urllib.
  2. Ensures that the jtop group exists.
  3. Creates the virtual environment at ~/.local/share/jtop.
  4. Installs jetson-stats into that virtual environment.
  5. Creates the /usr/local/bin/jtop symlink so that sudo jtop works.
  6. Creates the systemd jtop.service unit.
  7. Enables and starts the jtop service.

Upgrade

If jetson-stats / jtop was previously installed, this package upgrades it to the current jetson-stats release.

The installer:

  1. Removes outdated legacy system-wide jtop installs by running pip uninstall from every detected system Python directory, then removing leftover files.
  2. Leaves the isolated virtual environment untouched during legacy cleanup.
  3. Falls back to a full installation if uv or the virtual environment is missing or broken.
  4. Stops the jtop service.
  5. Removes root-owned __pycache__ directories from the virtual environment.
  6. Reinstalls jetson-stats.
  7. Refreshes the /usr/local/bin/jtop symlink.
  8. Restarts the jtop service.

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

jtop_installer-0.1.4.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

jtop_installer-0.1.4-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file jtop_installer-0.1.4.tar.gz.

File metadata

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

File hashes

Hashes for jtop_installer-0.1.4.tar.gz
Algorithm Hash digest
SHA256 1305e229144e69c011328e818752e34f868028dea417bdaeb13f5ea1f552c234
MD5 ee4042d6d78c7c0481a2360fe6c5f201
BLAKE2b-256 bbf1941029923add949c941f5ce5d5f0ef5309c7dc27a14c8124ce60416fc5e1

See more details on using hashes here.

File details

Details for the file jtop_installer-0.1.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for jtop_installer-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f473bf71cf7b2fc4598173a34422cb2d4db18586c9fa6d64baea01ef3d8b1d36
MD5 8640d33b46f49c8d35a521d7bc845c1e
BLAKE2b-256 e0cbfc14c35943fec06df0e6599644ca85a0e52936a8061e41fefab9f73baf02

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