Skip to main content

MRPT for Python

The Mobile Robot Programming Toolkit (MRPT) from Python: SE(2)/SE(3) poses and their uncertainty, Lie groups, point clouds and metric maps (occupancy grids, voxels...), particle filters, rawlog datasets, 3D scenes, and more.

pip install mrpt3
from mrpt.poses import CPose3D

p = CPose3D(1.0, 2.0, 0.0, 0.5, 0.0, 0.0)  # x, y, z, yaw, pitch, roll
print(p + p)

Each MRPT module is a Python subpackage (mrpt.poses, mrpt.maps, mrpt.slam...), with type stubs for IDE completion.

Requirements: Linux (glibc 2.28 or newer), x86_64 or aarch64, Python 3.11 to 3.14. mrpt.opengl and mrpt.gui also need the system OpenGL and X11 libraries, normally present on desktops. On minimal systems or containers, install them with:

# Debian/Ubuntu:
sudo apt install libegl1 libgl1 libgles2 libopengl0 \
  libx11-6 libx11-xcb1 libxcursor1 libxext6 libxi6 libxinerama1 libxrandr2 libxrender1 libxxf86vm1
# Fedora/RHEL:
sudo dnf install mesa-libGL mesa-libEGL libglvnd-gles libglvnd-opengl \
  libX11 libX11-xcb libXcursor libXext libXi libXinerama libXrandr libXrender libXxf86vm

All other modules work without them. See the examples and the documentation.

3D windows

mrpt.gui.CDisplayWindowGUI shows a 3D scene in a window, with a mouse controlled camera. spinOnce() processes its events and repaints it without blocking, so it fits in any loop:

import time
from mrpt.gui import CDisplayWindowGUI
from mrpt.viz import Scene, CGridPlaneXY, stock_objects

win = CDisplayWindowGUI("Demo", 800, 600)
scene = Scene()
scene.insert(CGridPlaneXY())
scene.insert(stock_objects.CornerXYZ(1.0))
win.background_scene = scene

while win.spinOnce():  # False once the window is closed
    time.sleep(0.02)

The wxWidgets based windows (CDisplayWindow3D) are not included in the wheel.

C++ SDK

The wheel also contains the MRPT C++ headers, shared libraries and CMake config files, so other Python packages with C++ code can build against it. With scikit-build-core, find_package(mrpt_poses) works with no extra setup; otherwise, add python -c "import mrpt.sdk; print(mrpt.sdk.get_cmake_prefix_path())" to CMAKE_PREFIX_PATH. C++ extensions that exchange MRPT objects with these bindings must use the pybind11 version in mrpt.sdk.PYBIND11_VERSION. C++ code using the mrpt_gui or mrpt_opengl headers also needs the system OpenGL development headers (libgl-dev on Debian/Ubuntu, mesa-libGL-devel on Fedora).

Other ways to install MRPT

MRPT is also available as Debian/Ubuntu packages and ROS 2 packages; see the installation instructions. Avoid mixing this wheel with those Python bindings in the same environment.

Metadata

Release files for mrpt3 3.6.2

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

Built distributions (wheels)

Table of built distributions (wheels) for mrpt3 3.6.2
File Actions
mrpt3-3.6.2-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for mrpt3-3.6.2-cp314-cp314-manylinux_2_28_x86_64.whl
mrpt3-3.6.2-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for mrpt3-3.6.2-cp314-cp314-manylinux_2_28_aarch64.whl
mrpt3-3.6.2-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for mrpt3-3.6.2-cp313-cp313-manylinux_2_28_x86_64.whl
mrpt3-3.6.2-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for mrpt3-3.6.2-cp313-cp313-manylinux_2_28_aarch64.whl
mrpt3-3.6.2-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for mrpt3-3.6.2-cp312-cp312-manylinux_2_28_x86_64.whl
mrpt3-3.6.2-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for mrpt3-3.6.2-cp312-cp312-manylinux_2_28_aarch64.whl
mrpt3-3.6.2-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for mrpt3-3.6.2-cp311-cp311-manylinux_2_28_x86_64.whl
mrpt3-3.6.2-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details for mrpt3-3.6.2-cp311-cp311-manylinux_2_28_aarch64.whl

Total release size: 181.7 MB

Release files / mrpt3-3.6.2-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL mrpt3-3.6.2-cp314-cp314-manylinux_2_28_x86_64.whl
Size 23.5 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
530914382f27495c61072fc6ad063c727223b2946b277ecfc4c55420fca52a48
BLAKE2b-256 checksum
How to use checksums
b0d05956d8ee6c161b7d05683066ac42acc5e965cb6682a03300b0fd1867a1f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / mrpt3-3.6.2-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL mrpt3-3.6.2-cp314-cp314-manylinux_2_28_aarch64.whl
Size 21.9 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
5b375d207b251eb8a0911625dad93009f2c01871c8ce2ff101e3e150d3a779e9
BLAKE2b-256 checksum
How to use checksums
118658399bc9900ca1c5dd7bd31d671146ebf4270ac3ac205a88548e5a40c041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / mrpt3-3.6.2-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL mrpt3-3.6.2-cp313-cp313-manylinux_2_28_x86_64.whl
Size 23.5 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
71f8232f0a2c426d1f0e26663555e23b6c9e5c2fb891138973350b6907e023ba
BLAKE2b-256 checksum
How to use checksums
259c33efdc6a1eb607c921aef21a9f4d7663282553152a5b98566f696ba0da10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / mrpt3-3.6.2-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL mrpt3-3.6.2-cp313-cp313-manylinux_2_28_aarch64.whl
Size 21.9 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
4b2a5781dafe6a65175a71e90588c2675b2e45ddb8e47976c601a4e8cdd06eb4
BLAKE2b-256 checksum
How to use checksums
d8d8a12cf1ce220fe302073b0406617b356bdd113264562f28f8a7fa78258c4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / mrpt3-3.6.2-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL mrpt3-3.6.2-cp312-cp312-manylinux_2_28_x86_64.whl
Size 23.5 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7d8ea23dfc51cc2e50dff95ac8d1f66c3afaaa3bb3bdf590eae903767d0ab616
BLAKE2b-256 checksum
How to use checksums
290dbae1f07b2def24e6ab77f790b07680dae2959c9858cac9ff344c0deabab5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / mrpt3-3.6.2-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL mrpt3-3.6.2-cp312-cp312-manylinux_2_28_aarch64.whl
Size 21.9 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
c5ab5148b3c55659cb438b0544dab8c4135e911b5dea6f524bebaaf6572fab07
BLAKE2b-256 checksum
How to use checksums
d9739ea82be667e5b8c0c32d36df7426309c6ad110fae7006cdd23eec516f649
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / mrpt3-3.6.2-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL mrpt3-3.6.2-cp311-cp311-manylinux_2_28_x86_64.whl
Size 23.5 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f1c61b342fe9423c4b3485a84d8ab138561ce8c2df98f7a51f41f7cca73cd774
BLAKE2b-256 checksum
How to use checksums
338f2d487884cfa36a4b0f9c4095e4ae24e31ac65babc80946215c3ff9ba1655
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / mrpt3-3.6.2-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL mrpt3-3.6.2-cp311-cp311-manylinux_2_28_aarch64.whl
Size 21.9 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
dee9cbaa2d3d2484258af0e85af00cc3d295b66d904d56875e76f0fc752fd446
BLAKE2b-256 checksum
How to use checksums
6a82b140c9e651d2a03e00a2bf4313089c4cbba8cf2e859a093ae90e9792a58a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for mrpt3 3.6.2

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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for mrpt3-3.6.2-cp314-cp314-manylinux_2_28_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

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