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 or newer.

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.7.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.7.0
File Actions
mola_metric_maps-3.7.0-cp315-cp315-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64 Details for mola_metric_maps-3.7.0-cp315-cp315-manylinux_2_28_x86_64.whl
mola_metric_maps-3.7.0-cp315-cp315-manylinux_2_28_aarch64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ ARM64 Details for mola_metric_maps-3.7.0-cp315-cp315-manylinux_2_28_aarch64.whl
mola_metric_maps-3.7.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.7.0-cp314-cp314-manylinux_2_28_x86_64.whl
mola_metric_maps-3.7.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.7.0-cp314-cp314-manylinux_2_28_aarch64.whl
mola_metric_maps-3.7.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.7.0-cp313-cp313-manylinux_2_28_x86_64.whl
mola_metric_maps-3.7.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.7.0-cp313-cp313-manylinux_2_28_aarch64.whl
mola_metric_maps-3.7.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.7.0-cp312-cp312-manylinux_2_28_x86_64.whl
mola_metric_maps-3.7.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.7.0-cp312-cp312-manylinux_2_28_aarch64.whl
mola_metric_maps-3.7.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.7.0-cp311-cp311-manylinux_2_28_x86_64.whl
mola_metric_maps-3.7.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.7.0-cp311-cp311-manylinux_2_28_aarch64.whl
mola_metric_maps-3.7.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.7.0-cp310-cp310-manylinux_2_28_x86_64.whl
mola_metric_maps-3.7.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.7.0-cp310-cp310-manylinux_2_28_aarch64.whl

Total release size: 12.4 MB

Release files / mola_metric_maps-3.7.0-cp315-cp315-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.7.0-cp315-cp315-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
24b7c9fe1075bcdc6414209f0c90847c71e62278e3d148740272afdd365352d4
BLAKE2b-256 checksum
How to use checksums
96b6c96fce7d3ece68f964cdc1994fc7fcbc6fc5267b1275423bd229e16cfe0d
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 / mola_metric_maps-3.7.0-cp315-cp315-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.7.0-cp315-cp315-manylinux_2_28_aarch64.whl
Size 980.5 kB
Tags CPython 3.15 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
8283630a441a20108fdc1f263296523c3ac2fd3298f33fe45f5e8419032e33a2
BLAKE2b-256 checksum
How to use checksums
0259867eeec538e6873056e8a26a64a81db1cd8ec0368e545540fb4bd7506c1e
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 / mola_metric_maps-3.7.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.7.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
c4060205e5d3b67ba31f7cc2bdfb7656f4cd71dd2eef9536cabc08bd6b103bd9
BLAKE2b-256 checksum
How to use checksums
93a4a7d1decb52b9167b9abbd2a4a3088fac573a3020fa2ae2c392684bfc6dd2
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 / mola_metric_maps-3.7.0-cp314-cp314-manylinux_2_28_aarch64.whl

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

Download URL mola_metric_maps-3.7.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
0b7a8895869941f2714cc9bd080d6bddac59112d270b8f337782bbbd2e33461f
BLAKE2b-256 checksum
How to use checksums
91f50cf4b6b5d77da90c6ac1fd398c7722283069f6cfbd6d4f0b40857ee5e176
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 / mola_metric_maps-3.7.0-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.7.0-cp313-cp313-manylinux_2_28_aarch64.whl
Size 977.9 kB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
a82c9efc3c5732cf9c58541c5f64571dbac5157d465a3cc22c739b6d6adc3070
BLAKE2b-256 checksum
How to use checksums
7939a04f34bc513222b83ba350b8cab34dc4f9cace4532deea739896a09e1d98
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 / mola_metric_maps-3.7.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.7.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
3e0bdc28a09cc12deaf7d116d505b0a9d8ff12f2f711dba9a5aaa80939305b03
BLAKE2b-256 checksum
How to use checksums
91f89f5834cc944defe2b568210c078205f6cd64c69f17137bc9769773e51f41
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 / mola_metric_maps-3.7.0-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.7.0-cp312-cp312-manylinux_2_28_aarch64.whl
Size 977.8 kB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
db24b166a589190f84ca78bef2e00dfc4f0fc53196cb70011530eebcacd80334
BLAKE2b-256 checksum
How to use checksums
11df30c0b70740d7c9aae2465cfc4a77a090f7b3830659c19e3b516842275ae2
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 / mola_metric_maps-3.7.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.7.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
5e7c35988591b827cd050da93564183ef3bf255d4b82f3716c237e3bc818f8ab
BLAKE2b-256 checksum
How to use checksums
640a21d94bf6239bb02bcbd27ea232108fc59a9a1b998610892b510ac78d9d86
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 / mola_metric_maps-3.7.0-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.7.0-cp311-cp311-manylinux_2_28_aarch64.whl
Size 975.7 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
c8aacdf0dcc26c9a22d283742ca35a6ef6b8fd61f5e6a97f440793985d0a9161
BLAKE2b-256 checksum
How to use checksums
63c65686b4d854d1d4df5aaa73eb40e1b915c096b01fabe1c00831213bfb85d2
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 / mola_metric_maps-3.7.0-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL mola_metric_maps-3.7.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
cc12b4e4b2e83a35c077db77272ad879720d5b3bbf182680ef3b56df2b253011
BLAKE2b-256 checksum
How to use checksums
c0940e834555f1552bdecb5d39c46d455872c2d82f8795f6c357e448049b3a5e
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 / mola_metric_maps-3.7.0-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL mola_metric_maps-3.7.0-cp310-cp310-manylinux_2_28_aarch64.whl
Size 975.1 kB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
97be5109ebe1daad2cf8bb59100e276321179573a1be818a38620a9a7ea3aab7
BLAKE2b-256 checksum
How to use checksums
a90bd86d3f052e4ed519dab0067d8576e28d8a4beb4c24e91f18fc6a32c39136
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 mola-metric-maps 3.7.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 mola_metric_maps-3.7.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