pystac-core
Core functionality for PySTAC without extensions. Most users will want to use pystac, not this package
What it is and what it does
PySTAC Core is the base library for working with the STAC specification, a standardized format for organizing and describing geospatial and temporal assets. It provides Python classes and methods to construct, parse, and manipulate STAC catalogs, collections, and items—the core data structures that describe where imagery and other raster data live, when they were captured, and how to access them. The library depends only on python-dateutil for date handling, keeping the core lightweight; optional dependencies add JSON validation, faster serialization, network retry logic, and Jupyter display support.
Most users will want the main pystac package instead, which includes extension implementations; this core package is for those building custom extensions or needing a minimal STAC foundation. The library follows semantic versioning and has recently moved extension implementations into separate packages so they can evolve independently of the core API.
Use it for:
- Build a custom STAC catalog to organize and describe a collection of satellite or aerial imagery with metadata.
- Parse and traverse existing STAC catalogs to discover and access geospatial assets programmatically.
- Develop a STAC extension or specialized tool that needs the core catalog and item structures without bundled extensions.
- Validate STAC JSON structures against the specification (with optional jsonschema dependency).
- Integrate STAC metadata into a geospatial data pipeline or web service.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PySTAC Core provides the foundational API for reading, writing, and working with SpatioTemporal Asset Catalog (STAC) metadata in Python, handling catalog structure, assets, and item management without extension implementations.
Yes, if you need to work directly with STAC catalogs in Python and either want a minimal core dependency footprint or are building custom extensions. No, if you are a typical user of STAC data—install the main pystac package instead, which includes extensions and is recommended for most use cases. The core package is production-ready, actively maintained, and carries no known vulnerabilities.
Install
pystac-core on PyPI
pip
pip install pystac-coreuv
uv add pystac-corepoetry
poetry add pystac-coreInstalling pystac-core
Before you install
Low friction installation with a single runtime dependency (python-dateutil). Active maintenance with a recent release 18 days ago and ongoing commits. Supports current Python versions (3.10–3.13).
License in practice
Apache-2.0 permissive license allows broad use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
Quickstart
pip install pystac-core
import pystac
# Create or load a STAC catalog
catalog = pystac.Catalog(id='my-catalog', description='My STAC catalog')
Requires Python 3.10 or later.
Verify before relying
- Whether optional dependencies (jsonschema, orjson, urllib3, jinja2) are required for typical workflows or truly optional for core use.
- Performance characteristics when handling large catalogs or deeply nested STAC structures.
- Compatibility guarantees with different STAC specification versions beyond the current implementation.
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 — python-dateutil |
| Maintenance | actively maintained — 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,992,866/month — #2,406 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pystac_core-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
pystacPySTAC is a Python library for reading,…
permissive · top 5,000 on PyPI
pystac-clientPySTAC Client is a Python library for querying…
permissive · top 15,000 on PyPI
planetary-computerSigns Azure Blob Storage URLs and STAC objects…
permissive · top 15,000 on PyPI
stactools-met-office-deterministicGenerates STAC (SpatioTemporal Asset Catalog)…
permissive · top 5,000 on PyPI
odc-stacConverts STAC (SpatialTemporal Asset Catalog)…
unclear · top 15,000 on PyPI
stac-fastapi-typesProvides core type definitions and data models…
permissive · top 15,000 on PyPI
stac-fastapi-apiProvides a FastAPI-based implementation of the…
permissive · top 15,000 on PyPI
pystac-ext-projectionExtends PySTAC to add geospatial projection…
permissive · top 5,000 on PyPI
pypgstacpypgstac provides Python bindings and utilities…
permissive · top 15,000 on PyPI
stac-fastapi-extensionsProvides FastAPI extensions for the STAC API…
permissive · top 15,000 on PyPI