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
curlmethod 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:
- Bootstraps
uvif it is missing by downloading the official installer using the 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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1305e229144e69c011328e818752e34f868028dea417bdaeb13f5ea1f552c234
|
|
| MD5 |
ee4042d6d78c7c0481a2360fe6c5f201
|
|
| BLAKE2b-256 |
bbf1941029923add949c941f5ce5d5f0ef5309c7dc27a14c8124ce60416fc5e1
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f473bf71cf7b2fc4598173a34422cb2d4db18586c9fa6d64baea01ef3d8b1d36
|
|
| MD5 |
8640d33b46f49c8d35a521d7bc845c1e
|
|
| BLAKE2b-256 |
e0cbfc14c35943fec06df0e6599644ca85a0e52936a8061e41fefab9f73baf02
|