pyo3/pytests
2024-01-18 22:04:42 +09:00
..
src feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
tests feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
build.rs
Cargo.toml ci: move lints to new 1.74 cargo.toml tables 2023-11-17 15:41:52 +00:00
MANIFEST.in
noxfile.py feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
pyproject.toml Use a version of gevent that supports py37 2023-12-24 16:24:47 -05:00
README.md

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