Toy example showing how to write a Rust program seamlessly wrapped in Python using the PyO3 ecosystem.
To run:
- Create a new Python virtual environment (
venv,conda, etc.). pip install maturinfrom within the environment.maturin developfrom within the environment to install locally.