geoarrow / geoarrow-rs

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

Python: pyodide strategy #442

Closed kylebarron closed 2 months ago

kylebarron commented 9 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 9 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 2 months 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 2 months ago

Closed with #753