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.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 10.3 MB
Release files / mola_metric_maps-3.6.0-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | mola_metric_maps-3.6.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 |
666fa2203fb1f34c9fbb40c0da50a5a771c0a7928417766ce67211f87263f31c
|
|
BLAKE2b-256 checksum How to use checksums |
a48619485a1e7b1389c3293e8a68cfe9aee44c329741115b31abffa27a7b6b97
|
| 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 19, 2026.
Transparency logRelease files / mola_metric_maps-3.6.0-cp314-cp314-manylinux_2_28_aarch64.whl
| Download URL | mola_metric_maps-3.6.0-cp314-cp314-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 979.6 kB |
| Tags | CPython 3.14 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
b0c79f76d9349db04af3b92fadd4f2f90d428266d21e221b8efdeabf8102fcc5
|
|
BLAKE2b-256 checksum How to use checksums |
54a8170ca0dd7aba24d33f6ba2854182ce5c813100f502cfd5d602d05ec725de
|
| 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 19, 2026.
Transparency logRelease files / mola_metric_maps-3.6.0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | mola_metric_maps-3.6.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 |
1a6a02ae41abbaa2c56b0057ba784d48ef4d058e86ac09f8f21a6c57fecf743c
|
|
BLAKE2b-256 checksum How to use checksums |
d16dd23a50d8b319e6cf3fb69a41c7857e418120e9d057eddc83ee11c81b3f39
|
| 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 19, 2026.
Transparency logRelease files / mola_metric_maps-3.6.0-cp313-cp313-manylinux_2_28_aarch64.whl
| Download URL | mola_metric_maps-3.6.0-cp313-cp313-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 977.0 kB |
| Tags | CPython 3.13 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
8af54ad55338dcae6a35e4f86cfa09be234b729e8b33bf707d37a21591a566e4
|
|
BLAKE2b-256 checksum How to use checksums |
e6719916fe14377c2c5852057db70d12750f6d7e5377f569751cee61a988ab4e
|
| 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 19, 2026.
Transparency logRelease files / mola_metric_maps-3.6.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | mola_metric_maps-3.6.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 |
2bbb6292911f797bd7f8bff80920572468eca3762f938d359927d4563d71ba9c
|
|
BLAKE2b-256 checksum How to use checksums |
3a5e673f1d9ae3b2d1514ba9606b35d63cc8c93e4d87f7eb63da87fb55e94b87
|
| 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 19, 2026.
Transparency logRelease files / mola_metric_maps-3.6.0-cp312-cp312-manylinux_2_28_aarch64.whl
| Download URL | mola_metric_maps-3.6.0-cp312-cp312-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 977.0 kB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
4401454eee7fdb60f6c2139f59d6bb90c7d2e8eb56f86d89b567c29934e6492d
|
|
BLAKE2b-256 checksum How to use checksums |
ccadbf85da5cac4b8cac50d381d84b96ec33d78dd1aa1bcf6f35492a065c821e
|
| 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 19, 2026.
Transparency logRelease files / mola_metric_maps-3.6.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | mola_metric_maps-3.6.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 |
0a74f8d31dc8af8fc5769133268002bc1dcabd8f51d2f40deae663ccbd942475
|
|
BLAKE2b-256 checksum How to use checksums |
307217aadcce091beb9469ef1d107448eb3c35017c0ce3897b7a511491077eb6
|
| 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 19, 2026.
Transparency logRelease files / mola_metric_maps-3.6.0-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | mola_metric_maps-3.6.0-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 974.9 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
3140c3fa318e5d47bd407c953acd1c9a48c954e379bd78783087eec9032387ab
|
|
BLAKE2b-256 checksum How to use checksums |
8bc80022c88e9833e651df2ef173e63ddd6c380a45f4ee98e5fb20339ac7c54a
|
| 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 19, 2026.
Transparency logRelease files / mola_metric_maps-3.6.0-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | mola_metric_maps-3.6.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 |
fff334cf85d14699a53ef8b3f0eed8170bf8dff4a23807b62f70a64314a0e666
|
|
BLAKE2b-256 checksum How to use checksums |
750dc550e6bc8328e057e3b486fd86e9c8501d8eb661d54963f87b4e84ad67c9
|
| 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 19, 2026.
Transparency logRelease files / mola_metric_maps-3.6.0-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | mola_metric_maps-3.6.0-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 974.2 kB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
695e7617dd9dbb35df94255071f93dfb6918c359d725726332252b7d9c01a0ab
|
|
BLAKE2b-256 checksum How to use checksums |
bf2d641ed4edea0e322558fddbb0ec1db9a50010b5d827ca148c8598d196d681
|
| 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 19, 2026.
Transparency logSecurity for mola-metric-maps 3.6.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.
Attestation for mola_metric_maps-3.6.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 19, 2026.
Transparency logA 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.