{"categories":[{"label":"GIS","url":"https://skillfed.io/packages/category/scientific-engineering-gis"}],"enrichment":{"capability":"PyGeoIf provides lightweight, pure-Python geometry classes that implement the GeoJSON-like __geo_interface__ protocol for working with geospatial vector data like points, lines, polygons, and their collections.","skillfed_tags":["gis-geometry","geojson-protocol","pure-python"],"use_cases":["Parse and construct GeoJSON-compatible geometry objects without heavy dependencies","Convert between WKT and Python geometry representations in lightweight applications","Build geospatial libraries that need a standard __geo_interface__ protocol foundation","Generate test geometries using Hypothesis strategies for property-based GIS testing","Embed geometry handling in projects where Shapely's size or compiled dependencies are prohibitive"],"what_it_does":"PyGeoIf is a minimal, pure-Python library for constructing and manipulating geospatial geometries. It implements the __geo_interface__ protocol\u2014a GeoJSON-like standard used by many GIS libraries\u2014allowing you to create Points, LineStrings, Polygons, and their multi- and collection variants, then read and write them in WKT (Well Known Text) format or convert them to GeoJSON-compatible dictionaries.\n\nThe package is designed as a lightweight alternative to Shapely, with no dependencies outside the Python standard library (only typing_extensions at runtime). It supports basic geometric operations like computing bounds, convex hulls, and polygon orientation. It also provides Hypothesis strategies for property-based testing. PyGeoIf is tested on CPython, PyPy, and GraalPy, and was originally written to supply clean, Python-only geometries for the fastkml library.","worth_installing":"Yes, if you need lightweight GeoJSON-compatible geometry handling without Shapely's compiled dependencies. The active maintenance, copyleft license clarity, and zero external dependencies make it a solid choice for minimal GIS work or as a foundation for custom geospatial libraries. Not suitable if you need advanced spatial operations\u2014use Shapely for that."},"id":"pygeoif","links":{"html":"https://skillfed.io/packages/pygeoif","md":"https://skillfed.io/packages/pygeoif.md","pypi":"https://pypi.org/project/pygeoif/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-01","license_spdx":null,"license_treatment":"copyleft","name":"pygeoif","python_support":"supports_current","summary":"A basic implementation of the __geo_interface__"},"popularity":{"monthly_downloads":370286,"position":7180,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.6.0"}
