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.
📖 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
Metadata
Release files for mudm 0.6.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mudm-0.6.4.tar.gz | 25.0 kB | With provenance | Details for mudm-0.6.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mudm-0.6.4-py3-none-any.whl | Python 3 | none | any | Details for mudm-0.6.4-py3-none-any.whl |
Total release size: 41.6 kB
Release files / mudm-0.6.4.tar.gz
| Download URL | mudm-0.6.4.tar.gz |
|---|---|
| Size | 25.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5260a6fa855c4e396f80d6e176b34e956f17f0ece57ee98f69081592b54eecd
|
|
BLAKE2b-256 checksum How to use checksums |
63a6576dde6466a348035894874826c83b5729ec8a762c3b64463280c67c306f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.
Transparency logRelease files / mudm-0.6.4-py3-none-any.whl
| Download URL | mudm-0.6.4-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9d68e954c98515f0246707508269f19f75151d19978f6c6e88e68a322e57193
|
|
BLAKE2b-256 checksum How to use checksums |
59a67394972192d6371c20181b9a19829b6834f39809826188d7ad7b39be2d6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.
Transparency logSecurity for mudm 0.6.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mudm-0.6.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.