The documentation can be found in the directory doc.
To build the documentation, run e.g. (on linux):
cd doc
make html
The HTML documentation is now located at doc/build/html/index.html.
Execute the following command in the main folder of the repository
to install the dependencies:
pip install -e '.[doc]'
Tests
You can use pytest to run the tests of this project in the root directory:
pytest
A coverage report will be located at htmlcov/index.html.
Note that you have to install pytest to run the tests and pytest-cov to
obtain the code coverage report.
Contributing
If you wish to report bugs, please use the
issue tracker at
Github. If you would like to contribute to pytransform3d, just open an issue
or a pull request.
The target branch for pull requests is the develop branch.
The development branch will be merged to main for new releases.
If you have questions about the software, you should ask them in the
discussion section.
The recommended workflow to add a new feature, add documentation, or fix a bug
is the following:
Push your changes to a branch (e.g. feature/x, doc/y, or fix/z) of your
fork of the pytransform3d repository.
Open a pull request to the latest development branch. There is usually an
open merge request from the latest development branch to the main branch.
When the latest development branch is merged to the main branch, a new
release will be made.
It is forbidden to directly push to the main branch. Each new version
has its own development branch from which a pull request will be opened to the
main branch. Only the maintainer of the software is allowed to merge a
development branch to the main branch.
If you use pytransform3d for a scientific publication, I would appreciate
citation of one of the following papers:
Fabisch, A. (2019). pytransform3d: 3D Transformations for Python.
Journal of Open Source Software, 4(33), 1159,
Bibtex entry:
@article{Fabisch2019,
doi = {10.21105/joss.01159},
url = {https://doi.org/10.21105/joss.01159},
year = {2019},
publisher = {The Open Journal},
volume = {4},
number = {33},
pages = {1159},
author = {Alexander Fabisch},
title = {pytransform3d: 3D Transformations for Python},
journal = {Journal of Open Source Software}
}
Fabisch, A., Popescu, M. (2026). New features of pytransform3d for robotics
research: transformation graphs, uncertainty, and 3D visualization in Python.
Frontiers in Robotics and AI 13:1860457, DOI: 10.3389/frobt.2026.1860457
Bibtex entry:
@article{Fabisch2026,
author={Alexander Fabisch and Mihaela Popescu},
title={New features of pytransform3d for robotics research:
transformation graphs, uncertainty, and {3D} visualization
in {Python}},
journal={Frontiers in Robotics and AI},
volume={13},
year={2026},
url={https://www.frontiersin.org/journals/robotics-and-ai/articles/10.3389/frobt.2026.1860457},
doi={10.3389/frobt.2026.1860457},
issn={2296-9144}
}
Alternatives
Use instead of pytransform3d: tools that do the same job, closest first.