Skip to content

developmentseed/geojson-pydantic

geojson-pydantic

Pydantic models for GeoJSON.

Test Coverage Package version Downloads License Conda


Documentation: https://developmentseed.org/geojson-pydantic/

Source Code: https://github.com/developmentseed/geojson-pydantic


Description

geojson_pydantic provides a suite of Pydantic models matching the GeoJSON specification rfc7946. Those models can be used for creating or validating geojson data.

Install

python -m pip install -U pip
python -m pip install geojson-pydantic

Or install from source:

We recommand using uv as project manager for development.

See https://docs.astral.sh/uv/getting-started/installation/ for installation

git clone https://github.com/developmentseed/geojson-pydantic.git
cd geojson-pydantic

uv sync

Install with conda from conda-forge:

conda install -c conda-forge geojson-pydantic

Contributing

See CONTRIBUTING.md.

Changes

See CHANGES.md.

Authors

Initial implementation by @geospatial-jeff; taken liberally from https://github.com/arturo-ai/stac-pydantic/

See contributors for a listing of individual contributors.

License

See LICENSE

About

Pydantic data models for the GeoJSON spec

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages