yourdfpy
A simpler and easier-to-use library for loading, manipulating, saving, and visualizing URDF files.
What it is and what it does
Yourdfpy is a URDF (Unified Robot Description Format) parser designed to handle real-world robot model files more robustly than existing alternatives. It decouples parsing from validation and mesh loading, allowing you to load and inspect URDF files independently of whether you validate them or load their associated mesh geometry. The library depends on lxml for XML parsing, numpy for numerical operations, trimesh for mesh handling, and six for Python 2/3 compatibility.
The package is intended for roboticists, simulation engineers, and developers working with robot models. It provides both programmatic access to URDF structure and a command-line visualization tool with interactive keyboard controls for inspecting models, toggling axis markers, wireframe rendering, and back-face culling. The fact sheet shows it successfully loads URDF files that other parsers fail on, making it useful when working with diverse or non-standard robot descriptions.
Use it for:
- Load and inspect URDF files from diverse robot platforms without parser failures
- Visualize robot models interactively from the command line with axis and wireframe toggles
- Extract and manipulate robot structure (joints, links, frames) for kinematic analysis
- Batch-process multiple URDF files with optional mesh loading for performance control
- Validate URDF syntax and structure independently of mesh availability
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Loads, manipulates, validates, and visualizes URDF robot description files with decoupled parsing, mesh loading, and validation.
Yes, if you work with URDF files and need robust parsing. The library's decoupled design and superior robustness on real-world models (12/12 success vs. competitors' 4–6/12) make it a practical choice over alternatives. Install friction is low and maintenance is active. MIT licensing removes legal friction. No known vulnerabilities.
Install
yourdfpy on PyPI
pip
pip install yourdfpyuv
uv add yourdfpypoetry
poetry add yourdfpyInstalling yourdfpy
Before you install
Low install friction with a pure-Python wheel. Actively maintained with recent commits and a stable release cadence; marked as Beta but in active development.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install yourdfpy
import yourdfpy
robot = yourdfpy.URDF.load('robot.urdf')
scene = robot.scene # Access visualization scene
Requires Python 3.7 or later; mesh visualization requires a display or headless rendering setup.
Verify before relying
- Whether forward kinematics calculations are fully implemented or partial
- Extent of scene-graph building capabilities and performance characteristics
- Support for URDF extensions beyond the standard specification
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — importlib-metadata, lxml, trimesh, numpy, six |
| Maintenance | actively maintained — 203 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,940,324/month — #3,418 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: yourdfpy-0.0.60-py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
robot_descriptionsDownloads and caches open-source robot…
permissive · top 15,000 on PyPI
cmeel-urdfdomParses URDF (U-Robot Description Format) XML…
permissive · top 5,000 on PyPI
urdf-usd-converterConverts URDF robot description files into…
permissive · top 15,000 on PyPI
pybulletPyBullet provides physics simulation, robotics…
permissive · top 15,000 on PyPI
resolve-robotics-uri-pyResolves ROS-style package:// and Gazebo-style…
permissive · top 15,000 on PyPI
robotspyParses robots.txt files according to RFC 9309…
permissive · top 15,000 on PyPI
flexivrdkFlexiv Robotic Development Kit (RDK) provides…
permissive · top 15,000 on PyPI
mplibMPlib provides motion planning algorithms for…
permissive · top 15,000 on PyPI
robotframework-excellibProvides Robot Framework keywords for reading,…
permissive · top 15,000 on PyPI