Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.96 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.96 KB

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

  • Rust (follow instructions here).
    If 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.
  • (Optional but recommended) An IDE with Rust autocompletion support. We recommend one of the following:

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.