geoarrow / geoarrow-rs

GeoArrow in Rust, Python, and JavaScript (WebAssembly) with vectorized geometry operations
http://geoarrow.org/geoarrow-rs/
Apache License 2.0
249 stars 16 forks source link

Python: pyodide strategy #442

Closed kylebarron closed 3 weeks ago

kylebarron commented 8 months ago

I think it's an important differentiator for geoarrow-rust to work in pyodide. The biggest blocker here is that multiple-pymethods doesn't work for the wasm32-unknown-emscripten target (see https://github.com/PyO3/pyo3/issues/2517 and https://github.com/PyO3/pyo3/discussions/3628).

kylebarron commented 8 months ago

ref: https://pyodide.org/en/stable/development/building-and-testing-packages.html, https://blog.pyodide.org/posts/rust-pyo3-support-in-pyodide/, https://github.com/pola-rs/polars/issues/3672#issuecomment-1188613095

kylebarron commented 1 month ago

To simplify development overhead and maintenance, we're moving to only top-level functions anyways, so hopefully pyodide should be on the roadmap

kylebarron commented 3 weeks ago

Closed with #753