Skip to main content

mola_metric_maps for Python

Metric map classes of MOLA, the LiDAR odometry and mapping framework: incremental point clouds, voxel maps, NDT, TSDF and keyframe maps. They are the layers of the .mm metric maps built by MOLA, and work together with mp2p-icp (metric maps, ICP) and mrpt3 (points, poses, base map classes).

pip install mola-metric-maps

Load a map built with MOLA: its layers come out with their actual classes (mp2p_icp imports mola_metric_maps by itself when a map needs it):

import mp2p_icp
import mola_metric_maps as mmm

m = mp2p_icp.MetricMap.from_file("map.mm")
layer = m.layers["localmap"]             # a mmm.IncrementalPointCloud
print(layer.livePointCount(), layer.creationOptions)

fields = mp2p_icp.layer_to_numpy(layer)  # x, y, z, intensity...: NumPy arrays
print(fields["x"].shape, list(fields))

Build maps from NumPy points (in the robot frame, with the robot at [x, y, z, yaw, pitch, roll], a 4x4 matrix or an mrpt.poses.CPose3D), query them, and save them as .mm layers:

import numpy as np

points = np.random.default_rng(0).uniform(-10, 10, (5000, 3)).astype(np.float32)

ipc = mmm.IncrementalPointCloud()
ipc.insertPointCloud(points, robotPose=[0, 0, 0, 0, 0, 0])
nn = ipc.nn_single_search_batch(points[:10] + 0.01)  # dict: found, points, dist_sqr...
idx, nn_points, dist_sqr = ipc.nn_multiple_search([1.0, 2.0, 0.0], 5)

ndt = mmm.NDT(voxel_size=1.0)
ndt.insertPointCloud(points, robotPose=[0, 0, 1.5, 0, 0, 0])
voxels = ndt.getVoxelsAsNumpy()  # indices, means, normals, is_plane...

out = mp2p_icp.MetricMap()
out.layers["points"] = ipc
out.layers["ndt"] = ndt
out.save("out.mm")

Classes: IncrementalPointCloud, HashedVoxelPointCloud, SparseVoxelPointCloud, SparseTreesPointCloud, NDT, TSDF, KeyframePointCloudMap and OccGrid, each with its option structures (creationOptions, insertionOptions...). This wheel uses the libraries of the installed mp2p-icp and mrpt3 wheels, which are dependencies.

Requirements: Linux (glibc 2.28 or newer), x86_64 or aarch64, Python 3.10 to 3.14.

See the Python API guide and the MOLA documentation.

License

GPL-3.0. Commercial products that use MOLA need a commercial license, unless the entire product is released under GPL-3.0: see the plans and pricing.

Other ways to install mola_metric_maps

mola_metric_maps is also available as a ROS 2 package (ros-$ROS_DISTRO-mola-metric-maps), which includes these Python bindings and the command line tools. Avoid mixing this wheel with those Python bindings in the same environment.

Metadata

Release files for mola-metric-maps 3.5.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 mola-metric-maps 3.5.0
File Actions
mola_metric_maps-3.5.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for mola_metric_maps-3.5.0-cp314-cp314-manylinux_2_28_x86_64.whl
mola_metric_maps-3.5.0-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for mola_metric_maps-3.5.0-cp314-cp314-manylinux_2_28_aarch64.whl
mola_metric_maps-3.5.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for mola_metric_maps-3.5.0-cp313-cp313-manylinux_2_28_x86_64.whl
mola_metric_maps-3.5.0-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for mola_metric_maps-3.5.0-cp313-cp313-manylinux_2_28_aarch64.whl
mola_metric_maps-3.5.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for mola_metric_maps-3.5.0-cp312-cp312-manylinux_2_28_x86_64.whl
mola_metric_maps-3.5.0-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for mola_metric_maps-3.5.0-cp312-cp312-manylinux_2_28_aarch64.whl
mola_metric_maps-3.5.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for mola_metric_maps-3.5.0-cp311-cp311-manylinux_2_28_x86_64.whl
mola_metric_maps-3.5.0-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details for mola_metric_maps-3.5.0-cp311-cp311-manylinux_2_28_aarch64.whl
mola_metric_maps-3.5.0-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for mola_metric_maps-3.5.0-cp310-cp310-manylinux_2_28_x86_64.whl
mola_metric_maps-3.5.0-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details for mola_metric_maps-3.5.0-cp310-cp310-manylinux_2_28_aarch64.whl

Total release size: 10.3 MB

Release files / mola_metric_maps-3.5.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.5.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
85f048857941ce594d44f3d2b840bcdf28331a07a15f77dae2bf82c482adde17
BLAKE2b-256 checksum
How to use checksums
248f852b2d362dcb0d094d8fee9938776511d2f80ca23d3661505e39d226c433
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 / mola_metric_maps-3.5.0-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.5.0-cp314-cp314-manylinux_2_28_aarch64.whl
Size 979.5 kB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
3870cb36e2ef104929f0dff8e291428b0773b325b8489394d0cb6b5da51bb667
BLAKE2b-256 checksum
How to use checksums
ebae8cc4da22fda5eb8d4a3ff7562f7829e230fd00726b528e4d77e633484434
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 / mola_metric_maps-3.5.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.5.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
da4da60de3ee4aae3a6950a5236271d39c3d39860f9d0a7ec4fb9fdca1e3ea24
BLAKE2b-256 checksum
How to use checksums
24763162f604b99d3b4ebe573749421986b99af47167fe9168cd1304056cd3a7
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 / mola_metric_maps-3.5.0-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.5.0-cp313-cp313-manylinux_2_28_aarch64.whl
Size 976.8 kB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
2d34f842e5fa1b19802c8afa51d8e5d39846fed51429894e09ee09a31716fa8c
BLAKE2b-256 checksum
How to use checksums
17f2aced5afb1383e93cee38c8339a3951c6d685931e3eb8dde45bb98c25f154
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 / mola_metric_maps-3.5.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.5.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b96bef8dedbaad9d549554b3f596b641668449cfc4441dff2a753ccc34c57b05
BLAKE2b-256 checksum
How to use checksums
b54a6a54e10b31de5fa42324824668851f13ce12ea78f02432c72047a1246a41
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 / mola_metric_maps-3.5.0-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.5.0-cp312-cp312-manylinux_2_28_aarch64.whl
Size 976.8 kB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
40bb977767090690b73bcde534f18bdec668a15b0b17acfcf36c7cef21dfba10
BLAKE2b-256 checksum
How to use checksums
cfd43c57f2a061caf2ab6ca9766ed58968b345af6f2cb10b1eb6ae00770bfb8b
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 / mola_metric_maps-3.5.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.5.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d6f54a57efb29bcf30e3ca82dabb213077944c0726318a42a1797b879783bc49
BLAKE2b-256 checksum
How to use checksums
224b27afc88d847b87a4e44199a750b9456a5106e0950f82ac571addde0af9fe
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 / mola_metric_maps-3.5.0-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.5.0-cp311-cp311-manylinux_2_28_aarch64.whl
Size 974.4 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
bf1dc6c1eedd76ac77f3a4d064402b8e091acb31d570fe878a16394821615782
BLAKE2b-256 checksum
How to use checksums
96e7b62a1281562c56a26398c77e91f0e4eec0d8b3362ee86816686e16ce9e4d
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 / mola_metric_maps-3.5.0-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.5.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d7f0f2cfc52382a0c337e8b379538c7d6f95c0a000033c989f8631b85ee85cdd
BLAKE2b-256 checksum
How to use checksums
914290ffb23ed6e2e32326aa93032fb65863f8e24ae82499a336a55122ae0a1e
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 / mola_metric_maps-3.5.0-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.5.0-cp310-cp310-manylinux_2_28_aarch64.whl
Size 974.0 kB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
9e86b1a2d367637253a9880a54ffb0a9f80061a0eb1568787446fe4c54fcfda6
BLAKE2b-256 checksum
How to use checksums
74b6bb1d7e2fd49587bc96d8c05e3c4167a29fa2c818e6de45e16668378c3437
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 mola-metric-maps 3.5.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 mola_metric_maps-3.5.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.5.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