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, Asset, 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.4.tar.gz (25.0 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.4-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mudm-0.6.4.tar.gz
  • Upload date:
  • Size: 25.0 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.4.tar.gz
Algorithm Hash digest
SHA256 a5260a6fa855c4e396f80d6e176b34e956f17f0ece57ee98f69081592b54eecd
MD5 4eb8b7813fa7adcfcafcbcc01a6d0e64
BLAKE2b-256 63a6576dde6466a348035894874826c83b5729ec8a762c3b64463280c67c306f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mudm-0.6.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: mudm-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 16.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d9d68e954c98515f0246707508269f19f75151d19978f6c6e88e68a322e57193
MD5 6da3fd71722e586ec58f3bd172e0e949
BLAKE2b-256 59a67394972192d6371c20181b9a19829b6834f39809826188d7ad7b39be2d6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mudm-0.6.4-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

This release

0.6.4 This release

2 files

0.6.3

2 files

0.6.2

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