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.3.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.3-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mudm-0.6.3.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.3.tar.gz
Algorithm Hash digest
SHA256 88ec9dbb20e4a5e8ab2536456ef18c7306f77a12089a3b6e3560f60b99819b8b
MD5 de2785c1dc2214c80d6f2c1feead4ea3
BLAKE2b-256 52c69e92fdc4c93cb342a8246eb45c70a21dd049794aba7a0eda9704535b5f84

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mudm-0.6.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dcb3baa04adaa1d6b155da30194c022da781e4d346aae8ffb7a20313e52e813b
MD5 fffbbf907c123414eb50f99e9dd3762c
BLAKE2b-256 e2cceb38b3e997a5e5c4a6849535769a34decaf841ae741530e6a7f94ff9bbb5

See more details on using hashes here.

Provenance

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

This release

0.6.3 This release

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