pyo3/pytests
Adam Reichold a0c85bb649
Merge pull request #3240 from davidhewitt/maturin-versions
bump maturin version in example files
2023-06-14 08:24:31 +00:00
..
pyo3_pytests
src remove all functionality deprecated in PyO3 0.18 2023-06-13 22:27:43 +01:00
tests remove all functionality deprecated in PyO3 0.18 2023-06-13 22:27:43 +01:00
build.rs
Cargo.toml Bump Rust edition to 2021 and make current Clippy happy. 2023-06-07 21:15:38 +02:00
MANIFEST.in
noxfile.py add #[pyo3(signature = (...))] attribute (#2702) 2022-10-25 07:23:21 +01:00
pyproject.toml bump maturin version in example files 2023-06-14 08:45:32 +01:00
README.md
requirements-dev.txt support ordering magic methods for #[pyclass] 2023-06-04 13:58:18 +01:00

pyo3-pytests

An extension module built using PyO3, used to test and benchmark PyO3 from Python.

Testing

This package is intended to be built using maturin. Once built, you can run the tests using pytest:

pip install maturin
maturin develop
pytest

Alternatively, install nox and run the tests inside an isolated environment:

nox

Running benchmarks

You can install the module in your Python environment and then run the benchmarks with pytest:

pip install .
pytest --benchmark-enable

Or with nox:

nox -s bench