39cac9075b
* 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> |
||
---|---|---|
.. | ||
decorator | ||
maturin-starter | ||
setuptools-rust-starter | ||
word-count | ||
Cargo.toml | ||
README.md |
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. |