| 1 |
# pyo3-ffi-pure |
| 2 |
|
| 3 |
A package with pyo3-ffi bindings for testing maturin. |
| 4 |
|
| 5 |
## Usage |
| 6 |
|
| 7 |
```python |
| 8 |
import pyo3_ffi_pure |
| 9 |
assert pyo3_ffi_pure.sum(2, 40) == 42 |
| 10 |
``` |
| 11 |
|
| 12 |
## Testing |
| 13 |
|
| 14 |
Install `pytest` and run: |
| 15 |
|
| 16 |
```bash |
| 17 |
pytest -v test_pyo3_ffi_pure.py |
| 18 |
``` |