{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/4"}],"enrichment":{"capability":"Provides a FastAPI-based HTTP interface to PgSTAC, a PostgreSQL backend for STAC API, enabling search and retrieval of geospatial collection and item metadata.","skillfed_tags":["stac-catalog","geospatial-api","postgresql-backend"],"use_cases":["Expose a searchable STAC API endpoint over HTTP for a PostgreSQL-backed geospatial metadata catalog","Build a multi-tenant geospatial data platform with hierarchical catalogs and poly-hierarchy link navigation","Integrate STAC search into a larger FastAPI application using stac-fastapi-pgstac as a backend module","Serve large spatiotemporal asset collections with optimized datetime-based sorting and filtering","Deploy a STAC API with custom JSON fields preserved transparently through JSONB storage"],"what_it_does":"stac-fastapi-pgstac is a FastAPI application that wraps PgSTAC, a PostgreSQL-backed STAC (SpatioTemporal Asset Catalog) database engine. It validates incoming HTTP requests against the STAC API specification, delegates search and retrieval operations to PgSTAC's procedural SQL functions, and enriches responses with standardized STAC links. The package stores all collection and item records as JSONB fields in PostgreSQL, preserving custom fields transparently.\n\nThe package is designed for deployments that need a standards-compliant HTTP interface to large geospatial metadata catalogs. It supports the STAC Sort Extension (with optimized datetime sorting), optional API-level or database-level result hydration, and the Multi-Tenant Catalogs Extension for hierarchical catalog structures with directed acyclic graph support. Runtime dependencies include asyncpg for async database access, pydantic for validation, and orjson for fast JSON serialization.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. Install it if you need a production-ready STAC API server backed by PostgreSQL. Prerequisite: you must provision a PgSTAC database schema and have PostgreSQL with PostGIS available; the package itself is the HTTP layer, not a standalone database."},"id":"stac-fastapi-pgstac","links":{"html":"https://skillfed.io/packages/stac-fastapi-pgstac","md":"https://skillfed.io/packages/stac-fastapi-pgstac.md","pypi":"https://pypi.org/project/stac-fastapi-pgstac/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-24","license_spdx":"MIT","license_treatment":"permissive","name":"stac-fastapi-pgstac","python_support":"supports_current","summary":"An implementation of STAC API based on the FastAPI framework and using the pgstac backend."},"popularity":{"monthly_downloads":80082,"position":14322,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.3.1"}
