{"categories":[{"label":"GIS","url":"https://skillfed.io/packages/category/scientific-engineering-gis"}],"enrichment":{"capability":"Provides Pydantic-based type-safe validation and models for GeoJSON data according to RFC 7946, supporting all standard geometry types, features, and feature collections.","skillfed_tags":["geospatial","gis","fastapi-compatible"],"use_cases":["Validate incoming GeoJSON in FastAPI endpoints with automatic OpenAPI schema generation.","Parse and type-check geographic features from external APIs or file uploads.","Define typed property schemas for GeoJSON features to enforce application-specific metadata.","Build geospatial REST APIs where coordinate ranges and geometry types must be correct.","Store and validate geographic data in applications that work with maps or location services."],"what_it_does":"pydantic-geojson wraps the GeoJSON specification (RFC 7946) in Pydantic models, letting you parse and validate geographic data with full type safety. It provides model classes for all nine GeoJSON object types: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, Feature, and FeatureCollection. Each model enforces the correct structure and coordinate ranges automatically.\n\nThe library integrates directly with Pydantic's validation pipeline, so you can use it in FastAPI endpoints, define custom property schemas for features, and get automatic OpenAPI documentation. It handles both raw GeoJSON dictionaries (via model construction) and nested geometry validation, making it useful for APIs, geospatial data pipelines, and any application that needs to trust incoming geographic data.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction (one dependency), and directly solves the problem of validating GeoJSON data in Python. Use it if you need type-safe GeoJSON handling in any application, especially those using Pydantic or FastAPI."},"id":"pydantic-geojson","links":{"html":"https://skillfed.io/packages/pydantic-geojson","md":"https://skillfed.io/packages/pydantic-geojson.md","pypi":"https://pypi.org/project/pydantic-geojson/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-01","license_spdx":null,"license_treatment":"permissive","name":"pydantic-geojson","python_support":"supports_current","summary":"Pydantic validation for GeoJson"},"popularity":{"monthly_downloads":84051,"position":14030,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.2"}
