pyo3/pytests/pyo3-benchmarks
Bruno Kolenbrander 39cac9075b
Organize examples + add __call__ example (#2043)
* Add decorator example crate and split off chapter

* Move not-examples to their own folder

* Add some readme's

* Make black happy

* Make clippy happy

* Add decorator example crate and split off chapter

* Fix ci

* Add empty workspace key

* Try fix ci

* fix ci

* reuse target dir for examples CI

* add pytests folder to makefile recipes

* fix ci, try 2

* add missing pyproject.toml

* remove TOX_TESTENV_PASSENV from Makefile

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-12-15 00:45:26 +00:00
..
pyo3_benchmarks Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
src Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
tests Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
Cargo.toml Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
MANIFEST.in Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
README.md Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
requirements-dev.txt Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
setup.py Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
tox.ini Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00

pyo3-benchmarks

This extension module contains benchmarks for pieces of PyO3's API accessible from Python.

Running the benchmarks

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

python setup.py develop
pytest

Or with tox:

tox -e py