A Gentle Introduction to PyO3
git clone [email protected]:murilo-cunha/intro-to-pyo3.git
cd intro-to-pyo3
Make sure you have Docker installed and the Dev Containers VSCode extension.
If you are on VSCode and don't have Rust installed and/or Python 3.12 installed, dev containers is a good option. Just open the project folder in VSCode and click on the green button at the bottom left corner of the screen. Make sure that the Docker daemon is running.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
If you are using PDM, make sure to include pip
in your virtual environment.
pdm install
pdm run python -m ensurepip
If you'd like to follow the workshop self paced, start with the introduction presentation on the notebook. It explains the setup and the exercise. Good luck!