pyo3/examples
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
..
decorator Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
maturin-starter Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
setuptools-rust-starter Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00
word-count 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
README.md Organize examples + add __call__ example (#2043) 2021-12-15 00:45:26 +00:00

README.md

PyO3 Examples

These example crates are a collection of toy extension modules built with PyO3. They are all tested using tox in PyO3's CI.

Below is a brief description of each of these:

Example Description
decorator A project showcasing the example from the Emulating callable objects chapter of the guide.
maturin-starter A template project which is configured to use maturin for development.
setuptools-rust-starter A template project which is configured to use setuptools_rust for development.
word-count A quick performance comparison between word counter implementations written in each of Rust and Python.