mainmatter / rust-python-interoperability

A self-paced course to write Python extensions in Rust, one exercise at a time.
https://rust-exercises.com/rust-python-interop/
33 stars 2 forks source link

Rust-Python interoperability

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!

Getting started

Open the companion book for this course in your browser. Follow the instructions there to get started.

Requirements

Solutions

You can find the solutions to the exercises in the solutions branch of this repository.

License

Copyright © 2024- Mainmatter GmbH (https://mainmatter.com), released under the Creative Commons Attribution-NonCommercial 4.0 International license.