muDM (micro Data Model) — a GeoJSON-inspired data model for microscopy spatial data.
Project description
muDM
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.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mudm-0.5.0.tar.gz.
File metadata
- Download URL: mudm-0.5.0.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4682610dbb31160e9fc6a7895253989f16f2684e9da67fad8572a342090f0be
|
|
| MD5 |
629c919b045e6d30bd772e43bbd53433
|
|
| BLAKE2b-256 |
b72ad2da0125882ca1a5229c8e38ecff4d4637ee8862bdc41f7396a283d72579
|
Provenance
The following attestation bundles were made for mudm-0.5.0.tar.gz:
Publisher:
publish.yml on NovagenResearch/mudm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mudm-0.5.0.tar.gz -
Subject digest:
e4682610dbb31160e9fc6a7895253989f16f2684e9da67fad8572a342090f0be - Sigstore transparency entry: 1272446264
- Sigstore integration time:
-
Permalink:
NovagenResearch/mudm@a29fa9d3d9e32f95e0464422b7a150ee5cbc0eff -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NovagenResearch
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a29fa9d3d9e32f95e0464422b7a150ee5cbc0eff -
Trigger Event:
push
-
Statement type:
File details
Details for the file mudm-0.5.0-py3-none-any.whl.
File metadata
- Download URL: mudm-0.5.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
434d857b9f235fbfa60bbfdc79d7d089416334e137eae8f520b711cf765080ea
|
|
| MD5 |
1f8c3d0941c4edbf0ad208ccb7ad8861
|
|
| BLAKE2b-256 |
d394d2cff0cb9207c0073ce5c540527a7a19948a0d2806b0f6c5be47fa8e304d
|
Provenance
The following attestation bundles were made for mudm-0.5.0-py3-none-any.whl:
Publisher:
publish.yml on NovagenResearch/mudm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mudm-0.5.0-py3-none-any.whl -
Subject digest:
434d857b9f235fbfa60bbfdc79d7d089416334e137eae8f520b711cf765080ea - Sigstore transparency entry: 1272446306
- Sigstore integration time:
-
Permalink:
NovagenResearch/mudm@a29fa9d3d9e32f95e0464422b7a150ee5cbc0eff -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/NovagenResearch
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a29fa9d3d9e32f95e0464422b7a150ee5cbc0eff -
Trigger Event:
push
-
Statement type: