Skip to main content

ros_introspect logo

ros_introspect is a Pure Python library for working with the files in ROS packages in a structured way. It is compatible with both ROS 1 and ROS 2.

You can specify the path directly.

from ros_introspect import Package
package = Package('/full/path/geometry_msgs')

or you can use the built-in crawler to search recursively

from ros_introspect import find_packages

for package in find_packages('/home/dlu/ros2_ws/src'):
    print(package)

Installation

PyPI version

sudo pip3 install ros-introspect

The Package Class

A Package is a path where the $PATH/package.xml exists and a collection of PackageFiles that are contained within that folder.

Each of the package files are a subtype of PackageFile based on their functionality, with each of the subtypes being defined in ros_introspect.components, including...

  • package.xml
  • CMakeLists.txt
  • Source code (Python or C++)
  • ROS Interfaces, i.e. messages, services and actions
  • DynamicReconfig configurations (ROS 1 only)
  • Plugin XML, for use with pluginlib
  • Launch files, both XML (ROS 1) and Python (ROS 2)
  • Parameter files (.yaml)
  • RViz configurations (.rviz)
  • Robot model files (.urdf and .xacro)
  • setup.py and setup.cfg for Python code
  • Documentation (Markdown, RST, licenses, etc.)
  • Miscellaneous Config files (various metadata like the .github folder)

Everything that does not fall into one of those categories ends up as "Other"**

**Excluding .pyc, *~, and .git/ files

Metadata

Release files for ros-introspect 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ros-introspect 0.3.0
File Size Uploaded Provenance
ros_introspect-0.3.0.tar.gz 99.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ros-introspect 0.3.0
File Interpreter ABI Platform
ros_introspect-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 126.7 kB

Release files / ros_introspect-0.3.0.tar.gz

Download URL ros_introspect-0.3.0.tar.gz
Size 99.4 kB
Tags Source
SHA-256 checksum
How to use checksums
541b3ca6786c2832e819e7a22a51bd9612010207b4489862d270836f77203ca9
BLAKE2b-256 checksum
How to use checksums
1af4b8ec106abe10a5cf97c341de16883d9dba981f4ea4cc2aeb22a7d0ecb02f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / ros_introspect-0.3.0-py3-none-any.whl

Download URL ros_introspect-0.3.0-py3-none-any.whl
Size 27.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cb3d7ab995a0cc50817b769a191c715d3a02fa439ea8a9b279e808dbc58858c
BLAKE2b-256 checksum
How to use checksums
2cba4b5caf82c63dcf2514523499f3e922006b097da5dfe122206c61421c3149
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Security for ros-introspect 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page