Skip to main content

Processing pipelines, tiling engines, and format converters for muDM spatial data.

Project description

mudm-tools

Processing pipelines, tiling engines, and format converters for muDM spatial data. Includes optional Rust acceleration via prebuilt wheels.

Install

pip install mudm-tools

On supported platforms (Linux x86_64, macOS x86_64/arm64, Windows x86_64), this automatically includes the Rust-accelerated tiling engine. On other platforms, a pure-Python fallback is used.

import mudm_tools
print(mudm_tools.RUST_AVAILABLE)  # True with prebuilt wheel

Features

  • 2D tiling: Rust-accelerated quadtree pipeline (StreamingTileGenerator2D) + legacy Python pipeline
  • 3D tiling: Octree-based mesh tiling with meshopt/Draco compression (StreamingTileGenerator)
  • Format converters: Xenium spatial transcriptomics, OBJ meshes, GeoJSON
  • GeoParquet/Arrow: Import and export via Apache Arrow
  • glTF/GLB export: 3D mesh export with optional Draco compression
  • Neuroglancer: Precomputed format for browser-based 3D visualization
  • Multiple output formats: PBF (MVT), 3D Tiles (GLB), tiled Parquet (ZSTD), Neuroglancer precomputed

Quick start

from mudm import MuDM  # core data model (separate package)
from mudm_tools._rs import StreamingTileGenerator2D  # Rust-accelerated
from mudm_tools.tiling2d import generate_pbf

gen = StreamingTileGenerator2D(min_zoom=0, max_zoom=7, buffer=64/4096)
gen.add_geojson(open("data.json").read(), bounds)
generate_pbf(gen, "tiles/", bounds)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mudm_tools-0.5.0.tar.gz (283.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mudm_tools-0.5.0-cp313-cp313-win_amd64.whl (7.8 MB view details)

Uploaded CPython 3.13Windows x86-64

mudm_tools-0.5.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

mudm_tools-0.5.0-cp313-cp313-macosx_11_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mudm_tools-0.5.0-cp312-cp312-win_amd64.whl (7.8 MB view details)

Uploaded CPython 3.12Windows x86-64

mudm_tools-0.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

mudm_tools-0.5.0-cp312-cp312-macosx_11_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mudm_tools-0.5.0-cp311-cp311-win_amd64.whl (7.8 MB view details)

Uploaded CPython 3.11Windows x86-64

mudm_tools-0.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

mudm_tools-0.5.0-cp311-cp311-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file mudm_tools-0.5.0.tar.gz.

File metadata

  • Download URL: mudm_tools-0.5.0.tar.gz
  • Upload date:
  • Size: 283.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for mudm_tools-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c277596d3b55260e79207ae887f0b6bc6386c71799f4b3137f0358e58d7b8826
MD5 fe0891a2e38316b8ae076f5408749f3c
BLAKE2b-256 8ddfdda0aa5674cf0edcaeb31fb245247f71353c8433170cb34db19032ca9d19

See more details on using hashes here.

File details

Details for the file mudm_tools-0.5.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mudm_tools-0.5.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dc729cdffa0c5bf3a00b3cbabb8fb844f8c0abf23c95e5ed3ddbfb8c9dc283ea
MD5 e1b8ece4b91b67ef3be4ed334fdb9886
BLAKE2b-256 21853f5261379ec280bd0f51d068ca4a4fd27ad105189e8b2683d930697cefe9

See more details on using hashes here.

File details

Details for the file mudm_tools-0.5.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mudm_tools-0.5.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c4fe20f97feeb3c84724023b98fc0e37bde60bad34cbd1bd8bdccce33178ff7
MD5 ba210069e3cf61db252a55526f102ee9
BLAKE2b-256 95fa4c6181baefec48f005b0c257d259d96eced50392e43857541c017a42ce78

See more details on using hashes here.

File details

Details for the file mudm_tools-0.5.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mudm_tools-0.5.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 21ef07e591dc04875932a15bf54a994b1a9cdd2ed3fde97385a9549aa4f29528
MD5 63d982442083cb9189cf75b5cde8c62e
BLAKE2b-256 bea215329a271d9662632f3b1e5181b9798b337efdb1d0b7565bc6a4b86ce6db

See more details on using hashes here.

File details

Details for the file mudm_tools-0.5.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mudm_tools-0.5.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f73188c8e549ae55d896698d66beb909bf6bb0d32b8b0b3f6e6b189019f3af95
MD5 7448e815aa9cce001ccc64b53ec8fac3
BLAKE2b-256 c5663570b2fe435dbb05dce14b154a9e11baf21259d6ec1d92b1ad965f203cab

See more details on using hashes here.

File details

Details for the file mudm_tools-0.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mudm_tools-0.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 247e9df2576c3d65e193ec121eefbda025b14ab5ed4ec13cf4cd402ecd4bf3bd
MD5 188231e966c861195ed0a1db7f7ce8a0
BLAKE2b-256 49f68dc4bb63ec319239aba5fbc3c4d076f0fb60ab268ebf90bced1ac6dcc463

See more details on using hashes here.

File details

Details for the file mudm_tools-0.5.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mudm_tools-0.5.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d9d676bc8e88a61fd398bb3f0625a85db2904f3434950cfd5cd8a684bf541433
MD5 525392dd73139eb9216e99dd3706f9f5
BLAKE2b-256 dc3b07805c545b40d8eadd9b2ef5947282877efb3a8abbc5298bafe0feeea770

See more details on using hashes here.

File details

Details for the file mudm_tools-0.5.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mudm_tools-0.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 84f67b19fc3f0450e0784a33509631e87ab254215cf70dabd63a1190271364d0
MD5 ae6acd129fc84e5182ff840db13274eb
BLAKE2b-256 9a633bd81db0a7d7f26e2fa91b043c4b9fc6fef1772e661f727bb3653b83069c

See more details on using hashes here.

File details

Details for the file mudm_tools-0.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mudm_tools-0.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30f0f9777979fac1920b0d505a4d4aee814761be0e9b5bcd7bfd1b67ef45cf38
MD5 0d6ebdec3a50200837d812daacd69ffc
BLAKE2b-256 46b1b1382b676df9c87a29951bc2296d1cdcde435a0c7ffbfd203ab4df95fc85

See more details on using hashes here.

File details

Details for the file mudm_tools-0.5.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mudm_tools-0.5.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d9f946be5ea8a0b9ff26b4a7d282014462ce809ee3af39839140288fd2d7e26
MD5 d9e8fe030457f586c302d40a04fdcbdf
BLAKE2b-256 e89fcef489943d26243b3a86bbd3d99f80dda14a090b51925fb2208bf878821f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page