#python #pyo3 #geospatial #geography

py_geo_interface

Exchange vector geometries between Rust and Python using pyo3 and Pythons __geo_interface__ protocol

12 releases (7 breaking)

0.8.0 Apr 19, 2024
0.7.0 Oct 12, 2023
0.6.2 Oct 3, 2023
0.6.1 Jul 24, 2023
0.3.0 Jun 22, 2022

#141 in Geospatial

Download history 5/week @ 2024-05-29 16/week @ 2024-06-05 38/week @ 2024-06-12 24/week @ 2024-06-19 64/week @ 2024-06-26 71/week @ 2024-07-03 5/week @ 2024-07-10 45/week @ 2024-07-17 195/week @ 2024-07-24 276/week @ 2024-07-31 218/week @ 2024-08-07 43/week @ 2024-08-14 24/week @ 2024-08-21 44/week @ 2024-08-28 37/week @ 2024-09-04 31/week @ 2024-09-11

138 downloads per month

MIT/Apache

50KB
1K SLoC

py_geo_interface

Latest Version Documentation ci dependency status

Exchange vector geometries between Rust and Python using pyo3 and Pythons __geo_interface__ protocol.

The __geo_interface__ protocol is implemented by most popular geospatial python modules like shapely, geojson, geopandas, ... . While this protocol also defines Features and FeatureCollections, this library so far only focuses on the Geometry type, as this one can be directly mapped to the types of the geo-types crate.

For usage examples see the documentation.

Changelog

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Dependencies

~4–9.5MB
~95K SLoC