Skip to main content

mp2p_icp for Python

Point cloud registration (ICP), metric maps and point cloud processing pipelines from mp2p_icp, the C++ libraries behind the MOLA LiDAR odometry and mapping framework.

pip install mp2p-icp
import mp2p_icp

# Metric maps (*.mm files): named layers of point clouds and other maps
m = mp2p_icp.MetricMap.from_file("map.mm")
print(m)                                        # contents summary
fields = mp2p_icp.layer_to_numpy(m.layers["raw"])  # x, y, z, intensity, ring, t... as NumPy
print(fields["x"].shape, list(fields))

# New layers from NumPy arrays: (N,3) or a dict of per-point fields
keep = fields["z"] > 0.5
m.layers["high"] = {name: a[keep] for name, a in fields.items()}
m.save("out.mm")

Register two point clouds (here, PLY files) with a bundled ICP configuration (mp2p_icp.list_configs()), or with any mp2p_icp YAML pipeline:

local = mp2p_icp.load_ply("scan.ply")
reference = mp2p_icp.load_ply("map.ply")
res = mp2p_icp.align(local, reference, "3d-point2plane",
                     initial_guess=[0, 0, 0, 0, 0, 0],  # x y z yaw pitch roll
                     variables={"ICP_THRESHOLD": 1.0})
print(res.optimal_tf.mean, res.quality)
T = res.optimal_pose_matrix  # 4x4 NumPy array

Render a map into an image, off-screen (needs an OpenGL/EGL capable system, but no display):

img = mp2p_icp.render(m, 1280, 720, colormap="jet", output="map.png")  # (H,W,3) uint8

Also included: filter and generator pipelines (FilterPipeline, Generators, simplemap_to_metricmap()), PLY, PCD, LAS and text point cloud files, and conversions in mp2p_icp.interop to and from pandas, Parquet, Open3D, PyVista and laspy. Their optional dependencies can be installed with pip install mp2p-icp[pandas], [open3d], [pyvista], [las], or [all].

Point clouds are mrpt3 objects (mrpt.maps.CGenericPointsMap...) and poses are mrpt.poses / mrpt.math types, so both packages work together. This wheel uses the MRPT libraries of the installed mrpt3 wheel, which is a dependency.

Requirements: Linux (glibc 2.28 or newer), x86_64 or aarch64, Python 3.10 or newer. render() also needs the system OpenGL libraries (see the mrpt3 package description).

See the documentation and the Python API guide.

Other ways to install mp2p_icp

mp2p_icp is also available as ROS 2 packages (ros-$ROS_DISTRO-mp2p-icp), which include these Python bindings and the command line tools (icp-run, sm2mm, mm-viewer...). Avoid mixing this wheel with those Python bindings in the same environment.

Metadata

Release files for mp2p-icp 3.3.0

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 mp2p-icp 3.3.0
File Actions
mp2p_icp-3.3.0-cp315-cp315-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64 Details for mp2p_icp-3.3.0-cp315-cp315-manylinux_2_28_x86_64.whl
mp2p_icp-3.3.0-cp315-cp315-manylinux_2_28_aarch64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.3.0-cp315-cp315-manylinux_2_28_aarch64.whl
mp2p_icp-3.3.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for mp2p_icp-3.3.0-cp314-cp314-manylinux_2_28_x86_64.whl
mp2p_icp-3.3.0-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.3.0-cp314-cp314-manylinux_2_28_aarch64.whl
mp2p_icp-3.3.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for mp2p_icp-3.3.0-cp313-cp313-manylinux_2_28_x86_64.whl
mp2p_icp-3.3.0-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.3.0-cp313-cp313-manylinux_2_28_aarch64.whl
mp2p_icp-3.3.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for mp2p_icp-3.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
mp2p_icp-3.3.0-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.3.0-cp312-cp312-manylinux_2_28_aarch64.whl
mp2p_icp-3.3.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for mp2p_icp-3.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
mp2p_icp-3.3.0-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.3.0-cp311-cp311-manylinux_2_28_aarch64.whl
mp2p_icp-3.3.0-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for mp2p_icp-3.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
mp2p_icp-3.3.0-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.3.0-cp310-cp310-manylinux_2_28_aarch64.whl

Total release size: 31.2 MB

Release files / mp2p_icp-3.3.0-cp315-cp315-manylinux_2_28_x86_64.whl

Download URL mp2p_icp-3.3.0-cp315-cp315-manylinux_2_28_x86_64.whl
Size 2.7 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e489d06a41e736828fe6e8dcb86d8897009f01ca88c22c93c35f08fa5a87c578
BLAKE2b-256 checksum
How to use checksums
a678eff800661215915cd6ff4f69d6ffba322b95239f7020dc364883cc9b390f
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp315-cp315-manylinux_2_28_aarch64.whl

Download URL mp2p_icp-3.3.0-cp315-cp315-manylinux_2_28_aarch64.whl
Size 2.5 MB
Tags CPython 3.15 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
37fea44368ec7a391d44feb33b28bbd9d4c14da0add879622e01a43a5ddc3eff
BLAKE2b-256 checksum
How to use checksums
44674a2d30ceb962f3c209198e05512057c15d3b504dcab5069d66d3b4d7d24a
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL mp2p_icp-3.3.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 2.7 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
93e8e680f9430ddd6a32e9c53c8320027532c13f9d45a24eb09d3eef3218f4f3
BLAKE2b-256 checksum
How to use checksums
abb712949194201e28e776f3291cdebd40153cac21bc5e18c84b412801cbad89
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL mp2p_icp-3.3.0-cp314-cp314-manylinux_2_28_aarch64.whl
Size 2.5 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
64c0a5b0090298f5a841bb710645c7d73b678a92a5d7dc4c3fb720c187df3895
BLAKE2b-256 checksum
How to use checksums
7b3e1714fcf2a16e349991c85dbdc5e35e3dcd5d6fdf52aac1b1dd453a6d66c5
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL mp2p_icp-3.3.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 2.7 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d9dfe910d8b42038a5ebf507e804ad3a4aaec9b3231ff8f4d174dcc873ed8cac
BLAKE2b-256 checksum
How to use checksums
839b305417486bb432c19bba48a88e6201a4cee444774ac2a1bcbee0e6c11757
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL mp2p_icp-3.3.0-cp313-cp313-manylinux_2_28_aarch64.whl
Size 2.5 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
5bcac6988262eead0ba76ae32adf23bbd60c174646cad258e59f56ca914cd5f1
BLAKE2b-256 checksum
How to use checksums
1287b3e9c6626e3e950674aedd6745e72d8a02305d98ac30f4ec92f643af58e9
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL mp2p_icp-3.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 2.7 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d425c518338436cf0cda115d49c034a9d1cea84576ca62264d44b6885c3e19c5
BLAKE2b-256 checksum
How to use checksums
b4a128c61c8ea273927b5e25275e5b524d3624db56bd9447489438400a3c3d02
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL mp2p_icp-3.3.0-cp312-cp312-manylinux_2_28_aarch64.whl
Size 2.5 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
8480e09ed67120e6d1ab02afc993fb125c5a6a8e3727eb271b92f7bd45c47094
BLAKE2b-256 checksum
How to use checksums
5a9c900ff4b65df570ba7e044a066d6952e7e615e18519c164bacea8cb704a20
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL mp2p_icp-3.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 2.7 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fe1b6914e961dcf931bd19fe7372754d6f819401ae3beb12e8d59ac2fd0a7dac
BLAKE2b-256 checksum
How to use checksums
c4e4e2cd766da1bc180b4e303d70f1cfeccdad70bfd11cbbc4ae5e8ba6587244
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL mp2p_icp-3.3.0-cp311-cp311-manylinux_2_28_aarch64.whl
Size 2.5 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
6ce7d36554668d5c9ee3a46b1180c5784105ce3a25f5f6096a1b99bb651a211f
BLAKE2b-256 checksum
How to use checksums
b3bf65827f8f664630511f1f115848673041820f138833e4c012f5e331969763
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL mp2p_icp-3.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 2.7 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a16934503869b7f553713b59ce00c0d92bf76936a511f174cd28558312e7296e
BLAKE2b-256 checksum
How to use checksums
89580486fc4988c24c8343e8568a5a4f9f2b69507990dd15960e262f8bf08183
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 Dec 1, 2026.

Transparency log

Release files / mp2p_icp-3.3.0-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL mp2p_icp-3.3.0-cp310-cp310-manylinux_2_28_aarch64.whl
Size 2.5 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
807cfd3592ada293b2df466b132af7242d22f35078ba82239e64dcfa76bb5338
BLAKE2b-256 checksum
How to use checksums
7080fb02710889f32fc86fd2e8c25cdff6f1262ac13fac149b6f5204fb312e9f
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 Dec 1, 2026.

Transparency log

Security for mp2p-icp 3.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.

Full provenance

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

Select from 12 files

Attestation for mp2p_icp-3.3.0-cp315-cp315-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 Dec 1, 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