pystac-ext-label
Label extension for PySTAC
What it is and what it does
pystac-ext-label is a PySTAC extension package that implements the STAC Label Extension specification (v1.0.0 and v1.0.1). It adds structured fields to STAC catalogs and items for describing labeled training data used in machine learning workflows, including label types, classification schemes, annotation tasks, and summaries of label distributions across datasets.
The package is a thin wrapper around the Label Extension schema, designed to integrate seamlessly with PySTAC's core catalog and item APIs. It targets developers building machine learning data pipelines who need to catalog, discover, and share labeled imagery or raster data through STAC-compliant metadata. The package is actively maintained, supports modern Python versions (3.10–3.13), and carries no known security vulnerabilities.
Use it for:
- Catalog labeled satellite or aerial imagery datasets for machine learning model training and validation.
- Describe annotation tasks and label distributions in STAC items to document data preparation workflows.
- Integrate labeled training data metadata into STAC repositories for reproducible ML experiments.
- Share labeled geospatial datasets with consistent, standardized metadata across teams and projects.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extends PySTAC to add support for the Label Extension specification, enabling description of labeled training data for machine learning with fields for label types, classes, tasks, methods, and label distribution overviews.
Yes. If you are building or consuming STAC catalogs that include labeled training data, this extension is the standard way to describe that metadata. Low install friction, active maintenance, permissive license, and no security issues make it a straightforward addition to a PySTAC workflow.
Install
pystac-ext-label on PyPI
pip
pip install pystac-ext-labeluv
uv add pystac-ext-labelpoetry
poetry add pystac-ext-labelInstalling pystac-ext-label
Before you install
Low friction: pure Python wheel with a single runtime dependency on pystac-core. Active maintenance with a recent release (4 days old) and no known vulnerabilities.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes.
Quickstart
pip install pystac-ext-label
from pystac_ext_label import LabelExtension
# Use LabelExtension to work with labeled STAC items
Requires Python 3.10 or later; pystac-core must be installed as a runtime dependency.
Verify before relying
- Whether this extension is compatible with all versions of pystac-core or only specific versions
- Performance characteristics when working with large labeled datasets
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — pystac-core |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,981,586/month — #2,430 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pystac_ext_label-1.0.2-py3-none-any.whl
Keywords: STAC, catalog, imagery, label, 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-mlmAdds Machine Learning Model extension support…
permissive · top 5,000 on PyPI
pystac-ext-pointcloudExtends PySTAC to support the Point Cloud…
permissive · top 5,000 on PyPI
pystac-ext-rasterExtends PySTAC with the Raster Extension…
permissive · top 5,000 on PyPI
pystac-ext-fileExtends PySTAC to add File Info Extension…
permissive · top 5,000 on PyPI
pystac-ext-storageExtends PySTAC to add cloud storage metadata…
permissive · top 5,000 on PyPI
pystac-ext-scientificExtends PySTAC to add scientific publication…
permissive · top 5,000 on PyPI
pystac-ext-xarray-assetsExtends PySTAC to support the Xarray Assets…
permissive · top 5,000 on PyPI
pystac-ext-classificationProvides PySTAC extension support for…
permissive · top 5,000 on PyPI
pystac-ext-satExtends PySTAC to handle satellite-specific…
permissive · top 5,000 on PyPI
pystac-ext-tableExtends PySTAC to describe tabular data assets…
permissive · top 5,000 on PyPI