$npx skillfedfor your agent

geojson-pydantic

Pydantic data models for the GeoJSON spec.

Worth itPyPI GISReleased Apr 20261.1M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — geojson_pydantic-2.1.1-py3-none-any.whl
v2.1.1 · released 2026-04-07 · Python >=3.9 · 1 runtime deps: pydantic

Yes. The package has low install friction, active maintenance, permissive MIT licensing, no security vulnerabilities, and fills a clear need for GeoJSON validation in Python. It's a straightforward choice if you're working with geographic data and want Pydantic's validation guarantees.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single runtime dependency on pydantic.
  • Repository is active with a recent commit on 2026-07-24 and no archived status.

License · maintenance · safety

permissive license (permissive) — MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute the software freely provided you include the license notice.

last release 2026-04-07 (129 days) · last repo commit 2026-07-24 · 284 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,121,112 downloads/mo, #4,335 on PyPI

Verify before relying

pip install geojson-pydantic

from geojson_pydantic import Point

point = Point(coordinates=[1.0, 2.0])
print(point.model_dump_json())
Same gist for agents: .md · .json

What it is and what it does

geojson-pydantic wraps the GeoJSON specification (RFC 7946) as a set of Pydantic models, letting you validate, parse, and serialize geographic data structures with type safety. It depends only on pydantic and works with Python 3.9 through 3.14, making it straightforward to integrate into data pipelines that need to handle GeoJSON.

The package is actively maintained, supports current Python versions, and has no known vulnerabilities. It's used for creating or validating GeoJSON objects—Points, LineStrings, Polygons, Features, and FeatureCollections—ensuring data conforms to the RFC 7946 standard before processing or storage.

Use it for

  • Validate incoming GeoJSON from APIs or files before storing in a geospatial database.
  • Build type-safe geographic data structures in Python applications using Pydantic's validation framework.
  • Serialize Python geographic objects to RFC 7946-compliant GeoJSON for REST APIs or client applications.
  • Parse and transform GeoJSON from external sources with automatic type checking and error reporting.
  • Integrate geospatial data validation into FastAPI or other Pydantic-based web services.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package has low install friction, active maintenance, permissive MIT licensing, no security vulnerabilities, and fills a clear need for GeoJSON validation in Python. It's a straightforward choice if you're working with geographic data and want Pydantic's validation guarantees.

Install

geojson-pydantic on PyPI

Before you install

Low friction install with a single runtime dependency on pydantic. Repository is active with a recent commit on 2026-07-24 and no archived status.

License in practice

MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute the software freely provided you include the license notice.

Quickstart

pip install geojson-pydantic

from geojson_pydantic import Point

point = Point(coordinates=[1.0, 2.0])
print(point.model_dump_json())

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pydantic
MaintenanceActively maintained 129 days since the last release
Last repo commit
First released
Downloads1,121,112 / month, #4,335 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: GISTyping :: Typed

Evidence: geojson_pydantic-2.1.1-py3-none-any.whl

Tags

Capabilities
geojson validation pydanticgeojson models pythonrfc7946 geojsongeographic data validationgeojson serializationspatial data pydantic modelsgeojson type checking
Topics
geospatialdata-validationgeojson
PyPI keywords
Pydanticgeojson

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “geojson validation pydantic”

  • geojson-pydanticProvides Pydantic models that validate and serialize GeoJSON data…
  • pydantic-geojsonProvides Pydantic-based type-safe validation and models for GeoJSON…
  • countryinfoCountryinfo provides a Python interface to query comprehensive…

Give your agent the search over MCP, or paste the wish link into any chat.

More GIS packages

shapely Worth it
PyPI · GIS · released Sep 2025

Shapely provides Python tools for creating, manipulating, and analyzing 2D geometric objects (points, lines, polygons) using the GEOS library, with both scalar and vectorized NumPy-based operations.

BSD-3-Clausecompiled wheel · 3.10+
85.8Mdownloads / mo
pyproj Unrated
PyPI · Scientific/Engineering · released Aug 2025

pyproj provides a Python interface to PROJ, enabling cartographic projections and coordinate system transformations for geospatial applications.

MITcompiled wheel · 3.11+
28.0Mdownloads / mo
geopandas Worth it
PyPI · GIS · released Jun 2026

GeoPandas extends pandas DataFrames to handle geographic data, combining pandas operations with shapely geometry and spatial analysis capabilities that would otherwise require a spatial database.

Install it if you work with geographic data in Python and want to avoid setting up a spatial database or learning a separate GIS tool.

BSD-3-Clausepure Python · 3.10+
24.8Mdownloads / mo
geopy Worth it
PyPI · Python Modules · released Jul 2026

geopy is a Python client for geocoding and distance calculation that converts addresses to coordinates and vice versa using multiple web-based geocoding services, and computes geodesic and great-circle distances between geographic points.

Install it if you need geocoding or distance calculations in your application.

MITpure Python · 3.8+
19.0Mdownloads / mo
pyogrio Worth it
PyPI · GIS · released Jun 2026

Pyogrio provides fast, bulk-oriented read and write access to vector spatial data formats (Shapefile, GeoPackage, GeoJSON, etc.) via GDAL/OGR bindings, typically for use with GeoPandas GeoDataFrames.

MITcompiled wheel · 3.10+
17.2Mdownloads / mo
h3 Worth it
PyPI · GIS · released May 2026

h3 provides Python bindings to Uber's H3 geospatial indexing library, converting geographic coordinates into hierarchical hexagonal grid cells and performing spatial operations on them.

Apache-2.0compiled wheel · 3.10+
12.1Mdownloads / mo

See also stac-pydantic · pydantic-geojson · geojson · scim2-models · geobuf · antimeridian · djangorestframework-gis · topojson · pydantic · pydantic-xml