#python #geospatial #pyo3 #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

#99 in Geospatial

Download history 3/week @ 2024-01-05 26/week @ 2024-01-12 2/week @ 2024-01-19 1/week @ 2024-01-26 35/week @ 2024-02-02 66/week @ 2024-02-23 50/week @ 2024-03-01 23/week @ 2024-03-08 6/week @ 2024-03-15 14/week @ 2024-03-29 2/week @ 2024-04-05 22/week @ 2024-04-12 116/week @ 2024-04-19

154 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

~3.5–9.5MB
~88K SLoC