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 to 3.14. 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.2.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.2.0
File Actions
mp2p_icp-3.2.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.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
mp2p_icp-3.2.0-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.2.0-cp314-cp314-manylinux_2_28_aarch64.whl
mp2p_icp-3.2.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.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
mp2p_icp-3.2.0-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.2.0-cp313-cp313-manylinux_2_28_aarch64.whl
mp2p_icp-3.2.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.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
mp2p_icp-3.2.0-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.2.0-cp312-cp312-manylinux_2_28_aarch64.whl
mp2p_icp-3.2.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.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
mp2p_icp-3.2.0-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.2.0-cp311-cp311-manylinux_2_28_aarch64.whl
mp2p_icp-3.2.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.2.0-cp310-cp310-manylinux_2_28_x86_64.whl
mp2p_icp-3.2.0-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details for mp2p_icp-3.2.0-cp310-cp310-manylinux_2_28_aarch64.whl

Total release size: 22.4 MB

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

Download URL mp2p_icp-3.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4de7649cd3f71e3d0198e9274458a2a7f6997a96c44f54b41288d2ca22e32807
BLAKE2b-256 checksum
How to use checksums
ec25e59b45574b82b609caa9c83a2c67062881b514a8bdbbc9849025106c0f09
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 16, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.0-cp314-cp314-manylinux_2_28_aarch64.whl
Size 2.1 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
99624d9f3f6c85537988161ef24266b20e74785ecee36e77ef210d37ae25c293
BLAKE2b-256 checksum
How to use checksums
d591ce24eb82d0fb84b252a7f528bef6b012ff5db1ab02fb3dbc69de2e5a8dbf
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 16, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
659577464b70dbb2903aca90a5d884d540add8489c4e8f135e65a1b1d07c8576
BLAKE2b-256 checksum
How to use checksums
b4c13f9b57eadae4128fe5f8b3f757c118123a66cb788592f135fe3c09e8818f
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 16, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.0-cp313-cp313-manylinux_2_28_aarch64.whl
Size 2.1 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
4a41671740c9b76a89d74610b0f02d13bcf53e2edc603c3ac4162f2c3204cfad
BLAKE2b-256 checksum
How to use checksums
5fb2c36ccd44c882cfdb8dbf55c62da52483d78b7ce19e28b42cd81781e7c97a
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 16, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
89d473668953b43eb5253078657d480b61701a6c910f8dab8c735ecea26d8799
BLAKE2b-256 checksum
How to use checksums
ef2da2a973418d5dd0f58c7607dc9df59c6893962482497492264609ff7db2f1
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 16, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.0-cp312-cp312-manylinux_2_28_aarch64.whl
Size 2.1 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
1fcaab1f3cb576310df97fe60c91f603c5be994b7dca068d109c39c915349b62
BLAKE2b-256 checksum
How to use checksums
6ad7ade34b24ce05f122cce0b8430dc67f68ef9fc71b9c42befb24bfac0f3284
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 16, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7cc8f5c581b309077ef4fd1ea8bd4ddeea6878b1da00c25eccace2e86b6cd05a
BLAKE2b-256 checksum
How to use checksums
ec62f71e3117853ea5e517a70d19767ef735f2e81db00df664d2de81b5f60d10
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 16, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.0-cp311-cp311-manylinux_2_28_aarch64.whl
Size 2.1 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
feaceb9a0552cd6e2e96e87895ba1ccbafdc091f23d8e9e46f5a433470527b79
BLAKE2b-256 checksum
How to use checksums
9ccc37c4de2e2442a86ae094f69959dca6de16cf6e5f76735d0fc56bda90d9a0
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 16, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
780acb83c5e63030eb255f55cd515c035f06587f1cef0ef4f3b2283f6d113483
BLAKE2b-256 checksum
How to use checksums
33eed8cc4987596747064a715c03b4b2b05f0e2adfbce43ecdc6880bd44f9942
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 16, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.0-cp310-cp310-manylinux_2_28_aarch64.whl
Size 2.1 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
50970b5a065e17dfeb0568212852281c0904cc81242dae8163aa0c7c8983ef4a
BLAKE2b-256 checksum
How to use checksums
51dc9e798077014676b8c9fccd5f27ad995671ef826827f8ddba834d48758b08
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 16, 2026.

Transparency log

Security for mp2p-icp 3.2.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 10 files in this release have been uploaded with provenance metadata.

Select from 10 files

Attestation for mp2p_icp-3.2.0-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 16, 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.

Release history Release notifications | RSS feed

This release

3.2.0 This release

10 release files Full provenance

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