{"categories":[{"label":"Information Analysis","url":"https://skillfed.io/packages/category/scientific-engineering-information-analysis/3"}],"enrichment":{"capability":"Provides Pydantic models for validating and serializing STAC (Spatiotemporal Asset Catalog) Catalogs, Collections, Items, and STAC API specifications, enabling type-safe request/response handling in web frameworks.","skillfed_tags":["geospatial","stac","validation"],"use_cases":["Validate STAC Items and Catalogs in a FastAPI endpoint before storing or forwarding them.","Serialize Python geospatial metadata objects to STAC-compliant JSON with automatic namespace handling.","Validate STAC extension fields (e.g., EO, Projection) against their published JSON schemas.","Build a STAC API server that accepts ItemSearch queries and returns ItemCollections with type safety.","Parse and validate STAC Catalogs from remote URLs or local files into typed Python objects."],"what_it_does":"stac-pydantic wraps the STAC specification (Spatiotemporal Asset Catalog) in Pydantic models, letting you validate and serialize geospatial metadata as strongly-typed Python objects. It covers core STAC Catalogs, Collections, and Items, plus the STAC API extensions for dynamic catalog queries. The library is built on pydantic, click, geojson-pydantic, and typing-extensions, making it lightweight and suitable for embedding in web services like FastAPI.\n\nThe main use case is request/response validation in APIs that serve or consume STAC data. It handles the namespace aliasing that STAC extensions require (e.g., eo:cloud_cover becomes a Python attribute), provides extension validation against remote JSON schemas, and ensures required fields are preserved during export even when null. For comprehensive schema validation and robust extension support, the documentation recommends pystac as an alternative.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It is the standard choice for type-safe STAC handling in Python web frameworks. Install it if you are building or consuming STAC APIs or need to validate geospatial catalog metadata."},"id":"stac-pydantic","links":{"html":"https://skillfed.io/packages/stac-pydantic","md":"https://skillfed.io/packages/stac-pydantic.md","pypi":"https://pypi.org/project/stac-pydantic/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-26","license_spdx":null,"license_treatment":"permissive","name":"stac-pydantic","python_support":"supports_current","summary":"Pydantic data models for the STAC spec"},"popularity":{"monthly_downloads":151497,"position":10929,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.6.0"}
