@@ -4,11 +4,11 @@ rust-numpy
4
4
[ ![ Build status] ( https://ci.appveyor.com/api/projects/status/bjaru43c7t1alx2x/branch/master?svg=true )] ( https://ci.appveyor.com/project/kngwyu/rust-numpy/branch/master )
5
5
[ ![ Crate] ( http://meritbadge.herokuapp.com/numpy )] ( https://crates.io/crates/numpy )
6
6
7
- Rust binding of NumPy C-API
7
+ Rust bindings for the NumPy C-API
8
8
9
9
API documentation
10
10
-------------
11
- - [ Latest release(possibly broken)] ( https://docs.rs/numpy )
11
+ - [ Latest release (possibly broken)] ( https://docs.rs/numpy )
12
12
- [ Current Master] ( https://rust-numpy.github.io/rust-numpy )
13
13
14
14
@@ -20,18 +20,18 @@ https://github.com/PyO3/pyo3/blob/master/build.rs for minimum required version)
20
20
- [ ndarray] ( https://github.com/bluss/ndarray ) for rust-side matrix library
21
21
- [ pyo3] ( https://github.com/PyO3/pyo3 ) for cpython binding
22
22
- and more (see [ Cargo.toml] ( Cargo.toml ) )
23
- - [ numpy] ( http://www.numpy.org/ ) installed in your python environments(e.g. via ` pip install numpy ` )
23
+ - [ numpy] ( http://www.numpy.org/ ) installed in your python environments (e.g., via ` pip install numpy ` )
24
24
25
25
** Note**
26
- From 0.3, we migrated from rust-cpython to pyo3.
26
+ Starting from 0.3, rust-numpy migrated from rust-cpython to pyo3.
27
27
If you want to use rust-cpython, use version 0.2.1 from crates.io.
28
28
29
29
30
30
Example
31
31
---------
32
32
33
33
34
- ## Exec python program and get data
34
+ ## Execute a Python program from Rust and get results
35
35
36
36
``` toml
37
37
[package ]
@@ -71,9 +71,9 @@ fn main_<'py>(py: Python<'py>) -> PyResult<()> {
71
71
}
72
72
```
73
73
74
- ## Write Python module by rust
74
+ ## Write a Python module in Rust
75
75
76
- Please see [ example] ( example ) directory for a complete example
76
+ Please see the [ example] ( example ) directory for a complete example
77
77
78
78
``` toml
79
79
[lib ]
@@ -101,7 +101,7 @@ use pyo3::prelude::{pymodinit, PyModule, PyResult, Python};
101
101
#[pymodinit]
102
102
fn rust_ext (py : Python , m : & PyModule ) -> PyResult <()> {
103
103
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
104
- // You **must** write this sentence for PyArray type checker working correctly
104
+ // You **must** write this statement for the PyArray type checker to work correctly
105
105
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
106
106
let _np = PyArrayModule :: import (py )? ;
107
107
@@ -138,7 +138,7 @@ fn rust_ext(py: Python, m: &PyModule) -> PyResult<()> {
138
138
139
139
Contribution
140
140
-------------
141
- This project is in pre-alpha version .
141
+ This project is still in pre-alpha.
142
142
We need your feedback. Don't hesitate to open [ issues] ( https://github.com/termoshtt/rust-numpy/issues ) !
143
143
144
144
Version
0 commit comments