Skip to main content

muDM

Documentation Docs build

muDM (micro Data Model) is a GeoJSON-inspired data model for encoding microscopy spatial data — annotations, regions of interest, coordinate systems, and 3D mesh surfaces.

This is the core data model package. It provides Pydantic models for validation and serialization with minimal dependencies. For tiling pipelines, format converters, and Rust-accelerated processing, see mudm-tools.

📖 Documentation: https://novagenresearch.github.io/mudm/

Install

pip install mudm

Usage

from mudm import MuDM, MuDMFeature, GeoJSON

# Validate muDM data
data = {
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "geometry": {"type": "Point", "coordinates": [10, 20]},
        "properties": {"label": "nucleus"},
    }],
}
obj = MuDM.model_validate(data)

# Any GeoJSON is valid muDM
geojson = GeoJSON.model_validate(data)

# Coordinate transforms
from mudm import AffineTransform

# Tile metadata
from mudm import TileJSON, TileModel

What's included

  • Model validation: MuDM, MuDMFeature, MuDMFeatureCollection, GeoJSON
  • 3D geometry types: TIN, PolyhedralSurface, TiledGeometry
  • Tile metadata: TileJSON, TileModel, TileLayer, PyramidJSON
  • Coordinate transforms: AffineTransform, VoxelCoordinateSystem
  • Provenance tracking: Workflow, Artifact, MuDMLink

License

MIT

Download files

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

Source Distribution

mudm-0.6.2.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

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

mudm-0.6.2-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file mudm-0.6.2.tar.gz.

File metadata

  • Download URL: mudm-0.6.2.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for mudm-0.6.2.tar.gz
Algorithm Hash digest
SHA256 e4f4aca60628008ed859c48e12a1fcbc841513cfe17bd6ab7ad10923e386781d
MD5 7136e06d0ae412e20f7d68a143655d99
BLAKE2b-256 b29218925ab5b0d21e05591e4cde98460535e2aa6ac2f441aa01952050894484

See more details on using hashes here.

Provenance

The following attestation bundles were made for mudm-0.6.2.tar.gz:

Publisher: publish.yml on NovagenResearch/mudm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mudm-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: mudm-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for mudm-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0a36234fa26e2eba0adddf39af17454c8f7416eea72ac0bb81b1deae2de45dd
MD5 4df1874296e81475b6d537a76de4cf28
BLAKE2b-256 ff44f6f578ae68d386be9a8b116d28a824b4c9a6fc63e3a3bc22c4cc6ab07182

See more details on using hashes here.

Provenance

The following attestation bundles were made for mudm-0.6.2-py3-none-any.whl:

Publisher: publish.yml on NovagenResearch/mudm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.6.4

2 files

0.6.3

2 files

This release

0.6.2 This release

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

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