Skip to main content

Pydantic data models for the GeoJSON spec.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geojson_pydantic-2.1.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geojson_pydantic-2.1.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file geojson_pydantic-2.1.1.tar.gz.

File metadata

  • Download URL: geojson_pydantic-2.1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for geojson_pydantic-2.1.1.tar.gz
Algorithm Hash digest
SHA256 3b64fa2dcd98108ff8a19bfb01eee3dab41bc230be2481804aefd7c1659d1c23
MD5 b99db68684620e22405f5fab361e4ccb
BLAKE2b-256 d97677c6f2e608028a2885e4d9d9a28cb6801879972d4bb3106c1dca02201df6

See more details on using hashes here.

Provenance

The following attestation bundles were made for geojson_pydantic-2.1.1.tar.gz:

Publisher: release.yml on developmentseed/geojson-pydantic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geojson_pydantic-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for geojson_pydantic-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 55354f22ededc3c070e3210fec6f518d784b65c4368c1763f2c6dc4bab79b898
MD5 7e0384df59f7b3eb923ad0050076b47a
BLAKE2b-256 9597d59d999f00aec90fc7a4efb742fc11e6c160552aa1b313438d3497998644

See more details on using hashes here.

Provenance

The following attestation bundles were made for geojson_pydantic-2.1.1-py3-none-any.whl:

Publisher: release.yml on developmentseed/geojson-pydantic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page