Rust binding of NumPy C-API
Please see example directory for a complete example
```rust
extern crate cpython; extern crate numpy;
use numpy::*; use cpython::{PyResult, Python};
pymoduleinitializer!(rustext, initrustext, PyInitrustext, |py, m| { m.add(py, "doc", "Rust extension for NumPy")?; m.add(py, "getarr", pyfn!(py, getarr_py()))?; Ok(()) });
fn getarrpy(py: Python) -> PyResult
This project is in pre-alpha version. We need your feedback. Don't hesitate to open issue!
v0.2.0
IntoPython
, ToPython
PyArray
creation functions are changedv0.1.1
v0.1.0