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.2.1

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

Total release size: 26.9 MB

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

Download URL mp2p_icp-3.2.1-cp315-cp315-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6590ff6f1c01077e869a2a8efad4cbff8b6c3a862cc16f62df2ab94daa08bd61
BLAKE2b-256 checksum
How to use checksums
5ef8f1104c35f03d24ff3dc68889b9f08c00c997ec0b57263c1be97e57f8858c
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-cp315-cp315-manylinux_2_28_aarch64.whl
Size 2.1 MB
Tags CPython 3.15 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
178930191a9eebd66c6baea79f9b33b58b00269e375d6dff218255a99fd03415
BLAKE2b-256 checksum
How to use checksums
d879d62e716752b9c6baf49ae6cb51b8e703bd643ba9f1d9d3efbb67eb39143d
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
1482ee079b835cf4038f5d7a15fcef588f989a3ec60ae46a798090f52d7c35b6
BLAKE2b-256 checksum
How to use checksums
125bfc5be227ef6d322b12d9576a7a7348033e47119b15d0b6cb418df7ab8442
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
8809a65cc7732d0ad716d2e0e84771812bbec9b26aa72bc0e137658581b14842
BLAKE2b-256 checksum
How to use checksums
53d5e562771596b7d845048643785938cae56bad34d2e2ece59a4885608f2660
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
efded891e33607499652d76691ba8ea622a585778f37dc56b7ebccd3f449a56a
BLAKE2b-256 checksum
How to use checksums
aab3c086bc959d3189bfe27f22bd72f83c7e8ff5bdbb4827070ea026e3f1520d
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
4d5be32a85305a5b0bb04d223ebd518fc2be823fa842d277488f16fbc64c670e
BLAKE2b-256 checksum
How to use checksums
96b6050ee1c869508c0fa56eabd0b7016f8c5d8ad034a10821cce109ff57aff5
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
b8fe2ca6a7abf4522549d2ab8904343fbdfc0025a7a52ba21413a57c8c5e1cf0
BLAKE2b-256 checksum
How to use checksums
4213f24b214acae97c572b46efbadf4c6a13ce6758d42cc9cf3201c21d37a285
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
17aa5efc22cd39084e098bd56f8b9bf00e8f0e5b9fc06c80522cec2fd12d99a4
BLAKE2b-256 checksum
How to use checksums
0cf36e31aeaf4c4be59143e78fcd380e8dab77ad31d8e26f6cd7d2b1b3534160
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
9a8ec8a2ecd0e494bce934e9b1ae4a098cc3d4ba8054698037f76535b945efc7
BLAKE2b-256 checksum
How to use checksums
438b56682b2a3413dcf8c7529da29d71f4d171c3a55a987b0d165fd11cde24ce
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
a80547c13ab76ebd2a90ee7469ce432936b4cbd2c63c56fa6fced15653c9b6e2
BLAKE2b-256 checksum
How to use checksums
111de0241293ffa8308355a48b595e5e90e4d8b5ebe5a933b590c29b2ce3596e
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
534131471918f463ff22d80f7f48fbc01b49508042647afbbbde71ee9b70c2af
BLAKE2b-256 checksum
How to use checksums
adc8c7b6a45fb82901b14ee06bee08b720f23686706327a11efcae4f786dc94c
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 21, 2026.

Transparency log

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

Download URL mp2p_icp-3.2.1-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
e03758106335013aa6b20e6cce807d3b1f3575092982c1ded4048432e7a72b5e
BLAKE2b-256 checksum
How to use checksums
7ff6eaa2b166e9d4952725d81b302333cedaeefd06dc62c6cbf8f6a45880aac1
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 21, 2026.

Transparency log

Security for mp2p-icp 3.2.1

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.2.1-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 Nov 21, 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.1 This release

12 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