geojson-pydantic 2.0.0


pip install geojson-pydantic

  Latest version

Released: May 05, 2025

Project Links

Meta
Author: Drew Bollinger
Requires Python: >=3.9

Classifiers

Intended Audience
  • Information Technology
  • Science/Research

License
  • OSI Approved :: MIT License

Programming Language
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Topic
  • Scientific/Engineering :: GIS

Typing
  • Typed

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:

$ python -m pip install -U pip
$ python -m pip install git+https://github.com/developmentseed/geojson-pydantic.git

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

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
pydantic (~=2.0)