pystac-ext-mlm
Machine Learning Model extension for PySTAC
What it is and what it does
pystac-ext-mlm is a PySTAC extension package that implements the Machine Learning Model extension specification for STAC (SpatioTemporal Asset Catalog). It allows you to attach standardized ML model metadata to STAC items and collections, describing model architecture, the framework used, input and output specifications, training configuration, and runtime requirements. This is useful when cataloging machine learning models alongside the geospatial or scientific data they operate on.
The package is tightly integrated with the PySTAC ecosystem and depends on pystac-core, pystac-ext-classification, and pystac-ext-raster. It supports multiple versions of the MLM specification (v1.0.0 through v1.4.0) and follows semantic versioning aligned to the extension spec version. The package is actively maintained, marked Production/Stable, and requires Python 3.10 or later.
Use it for:
- Catalog machine learning models used in geospatial analysis alongside the satellite or raster imagery they process.
- Document model architecture, training datasets, and performance metrics within a STAC collection for reproducibility.
- Track ML model lineage and versioning when models are retrained or updated in a data pipeline.
- Integrate ML model metadata with classification and raster extensions to describe end-to-end geospatial ML workflows.
- Enable discovery of trained models by framework, input/output format, or training approach in a searchable STAC catalog.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds Machine Learning Model extension support to PySTAC, enabling description of ML model architecture, framework, inputs, outputs, training details, and runtime information within STAC catalogs.
Yes. Active maintenance (released 4 days ago), Production/Stable status, permissive Apache-2.0 license, no known vulnerabilities, and low install friction make this a safe choice. Install it if you are already using PySTAC and need to catalog machine learning models with standardized metadata. The tight coupling to pystac-core and related extensions means it integrates seamlessly into existing PySTAC workflows.
Install
pystac-ext-mlm on PyPI
pip
pip install pystac-ext-mlmuv
uv add pystac-ext-mlmpoetry
poetry add pystac-ext-mlmInstalling pystac-ext-mlm
Before you install
Low friction install with active maintenance. Released 4 days ago, last commit 2026-08-10, and marked Production/Stable. Requires Python >=3.10 and depends on three pystac packages (pystac-core, pystac-ext-classification, pystac-ext-raster), all of which are part of the same ecosystem.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions—you can use, modify, and distribute this code freely provided you include the license notice.
Quickstart
pip install pystac-ext-mlm
from pystac_ext_mlm import MLM
# Use MLM extension to add ML model metadata to a STAC item
mlm = MLM.from_item(item)
Requires Python >=3.10; pystac-core and related extensions must be installed as runtime dependencies.
Verify before relying
- Whether the extension supports all major ML frameworks (TensorFlow, PyTorch, scikit-learn, etc.) or a specific subset.
- Whether model versioning and lineage tracking are supported beyond the core architecture/framework fields.
- Performance characteristics when working with large STAC catalogs containing many ML model items.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — pystac-core, pystac-ext-classification, pystac-ext-raster |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,981,844/month — #2,417 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pystac_ext_mlm-1.4.1-py3-none-any.whl
Keywords: STAC, catalog, imagery, mlm, pystac, raster
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
pystac-ext-labelExtends PySTAC to add support for the Label…
permissive · top 5,000 on PyPI
pystac-ext-rasterExtends PySTAC with the Raster Extension…
permissive · top 5,000 on PyPI
pystac-ext-projectionExtends PySTAC to add geospatial projection…
permissive · top 5,000 on PyPI
pystac-ext-classificationProvides PySTAC extension support for…
permissive · top 5,000 on PyPI
pystac-ext-fileExtends PySTAC to add File Info Extension…
permissive · top 5,000 on PyPI
pystac-ext-pointcloudExtends PySTAC to support the Point Cloud…
permissive · top 5,000 on PyPI
pystac-ext-tableExtends PySTAC to describe tabular data assets…
permissive · top 5,000 on PyPI
pystac-ext-storageExtends PySTAC to add cloud storage metadata…
permissive · top 5,000 on PyPI
pystac-ext-eoExtends PySTAC to add Electro-Optical extension…
permissive · top 5,000 on PyPI
model-indexMaintains a structured index of machine…
permissive · top 15,000 on PyPI