skillfed

pystac-ext-label

Label extension for PySTAC

pystac-ext-label v1.0.2 4.0M downloads/30d#2,430 on PyPI454
Permissive license Apache-2.0 Active released

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-label

uv

uv add pystac-ext-label

poetry

poetry add pystac-ext-label

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Tags

STAC label extensionlabeled training data metadatamachine learning dataset catalogPySTAC label supportSTAC extension for labelstraining data annotation metadata
stac-cataloggeospatial-metadatamachine-learning-data

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

pystac-ext-mlm

Adds Machine Learning Model extension support…

permissive · top 5,000 on PyPI

pystac-ext-pointcloud

Extends PySTAC to support the Point Cloud…

permissive · top 5,000 on PyPI

pystac-ext-raster

Extends PySTAC with the Raster Extension…

permissive · top 5,000 on PyPI

pystac-ext-file

Extends PySTAC to add File Info Extension…

permissive · top 5,000 on PyPI

pystac-ext-storage

Extends PySTAC to add cloud storage metadata…

permissive · top 5,000 on PyPI

pystac-ext-scientific

Extends PySTAC to add scientific publication…

permissive · top 5,000 on PyPI

pystac-ext-xarray-assets

Extends PySTAC to support the Xarray Assets…

permissive · top 5,000 on PyPI

pystac-ext-classification

Provides PySTAC extension support for…

permissive · top 5,000 on PyPI

pystac-ext-sat

Extends PySTAC to handle satellite-specific…

permissive · top 5,000 on PyPI

pystac-ext-table

Extends PySTAC to describe tabular data assets…

permissive · top 5,000 on PyPI