{"library":"stac-pydantic","title":"stac-pydantic","type":"library","description":"Pydantic data models for the SpatioTemporal Asset Catalog (STAC) specification. Provides Python classes for validating and serializing STAC objects (Catalogs, Collections, Items, associated extensions) with strict conformance to the STAC spec. Version 3.5.1 supports Pydantic v2 and Python >=3.8.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install stac-pydantic"],"cli":null},"imports":["from stac_pydantic import Catalog"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/stac-utils/stac-pydantic","docs":null,"changelog":null,"pypi":"https://pypi.org/project/stac-pydantic/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from stac_pydantic import Catalog, Collection, Item\n\ncatalog = Catalog(\n    id='my-catalog',\n    description='An example catalog',\n    stac_version='1.0.0',\n    stac_extensions=[],\n    links=[]\n)\nprint(catalog.model_dump())","lang":"python","description":"Create a basic STAC Catalog and dump to dict.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}