Welcome to "Rust-Python interoperability"!
In this course, you'll learn how to write Rust code that can be called from Python,
using pyo3
to create Python extension modules.
We assume you are familiar with the basics of both Rust and Python, but we don't assume any prior interoperability knowledge. We will provide explanations and references whenever we rely on advanced features in either language.
[!NOTE] This course has been written by Mainmatter.\ It's one of the trainings in our portfolio of Rust workshops.\ Check out our landing page if you're looking for Rust consulting or training!
Open the companion book for this course in your browser. Follow the instructions there to get started.
rustup
is already installed on your system, run rustup update
(or another appropriate command depending on how
you installed Rust on your system)
to make sure you're running on the latest stable version.rust-analyzer
extension.You can find the solutions to the exercises in
the solutions
branch of this repository.
Copyright © 2024- Mainmatter GmbH (https://mainmatter.com), released under the Creative Commons Attribution-NonCommercial 4.0 International license.