Skip to main content

Explore ROS 2 package dependencies from the command line (CLI, TUI, library)

Project description

rostree

CI codecov PyPI version PyPI downloads Python versions License

Explore ROS 2 package dependencies from the command line (CLI, TUI, library).

Docs: docs/README.md — overview, package discovery, dependency trees, usage, development.

Quick start

pip install -e .   # or: uv pip install -e .
source /opt/ros/<distro>/setup.bash   # and/or your workspace install/setup.bash

CLI commands

rostree                      # Launch interactive TUI
rostree scan                 # Scan host for ROS 2 workspaces
rostree scan ~/dev --depth 3 # Scan specific directories
rostree list                 # List known packages
rostree list --by-source     # List packages grouped by source
rostree tree rclpy           # Show dependency tree for a package
rostree tree rclpy --depth 3 # Limit tree depth
rostree tree rclpy --json    # Output as JSON

TUI mode

rostree tui                  # Interactive terminal UI
rostree tui rclpy            # Start TUI with a specific package tree

Python API

from rostree import list_known_packages, get_package_info, build_tree, scan_workspaces

packages = list_known_packages()
root = build_tree("rclpy", max_depth=5, runtime_only=True)
workspaces = scan_workspaces()  # Scan host for ROS 2 workspaces

Links

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

rostree-0.1.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

rostree-0.1.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file rostree-0.1.0.tar.gz.

File metadata

  • Download URL: rostree-0.1.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rostree-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2bf2fe744b2b991d82095ea74d7d9ebfd478bf3b7abdd12ea081c8d1b66f2263
MD5 57695702fe8fd1b958347d19580643f1
BLAKE2b-256 d823eb11d932ef2600654c0448a0f07dd07304fc2b93fcf631ba106e5390e18f

See more details on using hashes here.

Provenance

The following attestation bundles were made for rostree-0.1.0.tar.gz:

Publisher: publish.yml on guilyx/rostree

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rostree-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rostree-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rostree-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5e79d8f506c41f243faea52dcaa3a2e4ecc1012c8bf53f76cd76e8ecc1edf7b
MD5 d8f523ed32e1986980961c5ee418afff
BLAKE2b-256 1b92c420891f7b0554ad5347abddb467f2b92779420d2afcc84185c6ae7eb409

See more details on using hashes here.

Provenance

The following attestation bundles were made for rostree-0.1.0-py3-none-any.whl:

Publisher: publish.yml on guilyx/rostree

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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