pystac
Python library for working with the SpatioTemporal Asset Catalog (STAC) specification
What it is and what it does
PySTAC is a production-grade Python implementation of the SpatioTemporal Asset Catalog (STAC) specification, which is a standardized format for organizing and describing geospatial and temporal data assets. The library lets you create, read, validate, and manipulate STAC catalogs, collections, and items—the core data structures used to catalog satellite imagery, raster data, and other earth observation assets. It handles JSON serialization, metadata validation, and navigation of hierarchical catalog structures.
The package is built on pystac-core and includes 23 extension packages that add domain-specific metadata schemas for specialized data types (e.g., SAR, point clouds, data cubes, labels). Most users start with the core library and add extensions as needed. PySTAC is widely used in geospatial workflows to standardize how imagery and sensor data are described and discovered, making it easier to build data pipelines and search tools that work across different data providers.
Use it for:
- Build or maintain a searchable catalog of satellite or aerial imagery with standardized metadata.
- Ingest and validate earth observation data into a STAC-compliant repository.
- Write tools that read STAC catalogs and extract assets for analysis or processing.
- Integrate geospatial data from multiple sources into a unified STAC collection.
- Automate metadata generation and catalog updates for remote sensing workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PySTAC is a Python library for reading, writing, and working with SpatioTemporal Asset Catalog (STAC) specifications, enabling standardized organization and discovery of geospatial and temporal data.
Yes. PySTAC is actively maintained, production-stable, permissively licensed, and widely adopted in geospatial data workflows. Install it if you work with satellite imagery, earth observation data, or need to organize and catalog geospatial assets according to the STAC standard. The core library has low install friction; add optional extras (validation, orjson, urllib3, jinja2) only if you need their specific features.
Install
pystac on PyPI
pip
pip install pystacuv
uv add pystacpoetry
poetry add pystacInstalling pystac
Before you install
Installation is straightforward with low friction; the package is actively maintained with a recent release (18 days old) and supports current Python versions (3.10–3.13). The core library is pure Python, though optional extras like validation, orjson serialization, and Jupyter display are available.
License in practice
Licensed under Apache-2.0 (permissive), so you can use, modify, and distribute PySTAC freely in commercial and private projects without copyleft obligations.
Quickstart
pip install pystac
import pystac
# Read a STAC catalog
catalog = pystac.read_dict(stac_dict)
for item in catalog.get_items():
print(item.id)
Requires Python 3.10 or later; optional validation requires jsonschema, orjson serialization requires orjson, and network retry support requires urllib3.
Verify before relying
- Whether the 23 extension packages (pystac-ext-*) are all required for typical use or if most users only need a subset.
- Performance characteristics when working with large catalogs or deeply nested STAC structures.
- Compatibility with STAC specification versions beyond the current release.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 23 — pystac-core, pystac-ext-classification, pystac-ext-datacube, pystac-ext-eo, pystac-ext-file, pystac-ext-grid, pystac-ext-item-assets, pystac-ext-label, pystac-ext-mgrs, pystac-ext-mlm, pystac-ext-pointcloud, pystac-ext-projection, pystac-ext-raster, pystac-ext-render, pystac-ext-sar, pystac-ext-sat, pystac-ext-scientific, pystac-ext-storage, pystac-ext-table, pystac-ext-timestamps, pystac-ext-version, pystac-ext-view, pystac-ext-xarray-assets |
| Maintenance | actively maintained — 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,588,083/month — #2,279 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pystac-1.15.2-py3-none-any.whl
Keywords: STAC, catalog, imagery, pystac, raster
Tags
More Information Analysis packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyarrowpyarrow provides Python bindings to Apache…
permissive · top 100 on PyPI
networkxNetworkX provides data structures and…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI
snowflake-snowpark-pythonSnowpark Python provides APIs to query and…
permissive · top 1,000 on PyPI
pystac-clientPySTAC Client is a Python library for querying…
permissive · top 15,000 on PyPI
pystac-corePySTAC Core provides the foundational API for…
permissive · top 5,000 on PyPI
stactools-met-office-deterministicGenerates STAC (SpatioTemporal Asset Catalog)…
permissive · top 5,000 on PyPI
pypgstacpypgstac provides Python bindings and utilities…
permissive · top 15,000 on PyPI
odc-stacConverts STAC (SpatialTemporal Asset Catalog)…
unclear · top 15,000 on PyPI
pystac-ext-projectionExtends PySTAC to add geospatial projection…
permissive · top 5,000 on PyPI
stac-fastapi-typesProvides core type definitions and data models…
permissive · top 15,000 on PyPI
planetary-computerSigns Azure Blob Storage URLs and STAC objects…
permissive · top 15,000 on PyPI
stac-fastapi-apiProvides a FastAPI-based implementation of the…
permissive · top 15,000 on PyPI
rio-stacrio-stac creates valid STAC Items from raster…
permissive · top 15,000 on PyPI