Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the fundamentals of PyO3 in this comprehensive 3-hour tutorial from PyCon US. Learn how to leverage Rust's memory-safe properties and parallelism capabilities to develop Python libraries. Begin with setting up the project environment and progress to creating a basic Python library using Rust and PyO3. Dive into the PyO3 API, covering essential topics such as creating Python functions and modules, handling errors, and converting types between Rust and Python. Gain hands-on experience through interactive exercises, making this tutorial suitable for developers interested in bridging the gap between Python and Rust. While prior Rust knowledge is beneficial, it's not required as all Rust code will be provided. Equip yourself with the skills to consider Rust as a powerful alternative for building efficient and safe Python libraries.