Urdfpy is a simple and easy-to-use library for loading, manipulating, saving, and visualizing URDF files.
Extensive API documentation is provided here.
You can install urdfpy directly from pip.
pip install urdfpy
Please see the user guide here for more information.