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:
- Bootstraps
uvif it is missing by downloading the official installer using Python standard-libraryurllib. - Ensures that the
jtopgroup exists. - Creates the virtual environment at
~/.local/share/jtop. - Installs
jetson-statsinto that virtual environment. - Creates the
/usr/local/bin/jtopsymlink so thatsudo jtopworks. - Creates the systemd
jtop.serviceunit. - Enables and starts the
jtopservice.
Upgrade
If jetson-stats / jtop was previously installed, this package upgrades it to the current jetson-stats release.
The installer:
- Removes outdated legacy system-wide
jtopinstalls by runningpip uninstallfrom every detected system Python directory, then removing leftover files. - Leaves the isolated virtual environment untouched during legacy cleanup.
- Falls back to a full installation if
uvor the virtual environment is missing or broken. - Stops the
jtopservice. - Removes root-owned
__pycache__directories from the virtual environment. - Reinstalls
jetson-stats. - Refreshes the
/usr/local/bin/jtopsymlink. - Restarts the
jtopservice.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b597cce5d8bf4846c513cd1fb15cafa613facf35fa3b330ff50bb7d870ad6d9
|
|
| MD5 |
7e6bc6b88076fb4c45f18be436bb068e
|
|
| BLAKE2b-256 |
15d2f8825c6d3b6730377b7a910e583c7cb82271a15ee36bd244ba471a7b63c3
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0eb2c0dfdd75184acb16ec3ff51fd305c80826a046008be2134f33d4d2a7017
|
|
| MD5 |
91060c792b4d02959ffd03b4cdc3ff09
|
|
| BLAKE2b-256 |
64dd06599bf663c567f548e4308bf39e4375736c956bfd0e947c33b0f564f785
|