ndarray
ndarray copied to clipboard
python bindings
https://github.com/dgrunwald/rust-cpython allows users to return numpy arrays from rust bindings with the Buffer type. It could be nice to add rust-cpython as an optional feature so that those of us creating python bindings for our more python-centric colleagues can do so with no fuss :+1:
I'm looking into implementing this for one of my projects so would be willing to adapt this to a PR once I've figured it out
Does the numpy crate meet your needs? It provides conversions between NumPy arrays and ndarray arrays. This example of writing a Python module in Rust sounds like what you're looking for.
That looks like it does I'll try it tonight 👍
Maybe it make sense to add link in readme or docs?