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

On a machine without uv or pipx, run direct from the repository using system Python to install jtop:

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

Using uv or pipx

If uv is already installed:

uvx jtop-installer

If sudo apt install pipx is already installed:

pipx run jtop-installer

What this package does

jtop-installer installs or upgrades Current Release jetson-stats / jtop into a uv virtual environment located at:

~/.local/share/jtop

The installer uses the exceptionally fast uv virtual environment. It does not install jetson-stats into system site-packages. Instead, it avoids modifying Ubuntu/JetPack’s apt managed system Python that includes externally managed Python installations where pip enforces PEP 668 protections. It does not require --break-system-packages.

System-wide it only creates:

  • a symlink:
    /usr/local/bin/jtop -> ~/.local/share/jtop/bin/jtop
    
  • a systemd service unit:
    /etc/systemd/system/jtop.service
    

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 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.3.tar.gz (8.6 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.3-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jtop_installer-0.1.3.tar.gz
  • Upload date:
  • Size: 8.6 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.3.tar.gz
Algorithm Hash digest
SHA256 9b597cce5d8bf4846c513cd1fb15cafa613facf35fa3b330ff50bb7d870ad6d9
MD5 7e6bc6b88076fb4c45f18be436bb068e
BLAKE2b-256 15d2f8825c6d3b6730377b7a910e583c7cb82271a15ee36bd244ba471a7b63c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jtop_installer-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0eb2c0dfdd75184acb16ec3ff51fd305c80826a046008be2134f33d4d2a7017
MD5 91060c792b4d02959ffd03b4cdc3ff09
BLAKE2b-256 64dd06599bf663c567f548e4308bf39e4375736c956bfd0e947c33b0f564f785

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