Using Rust with Python
1h 32mIntermediate2024-07-09
Authors
Noah Gift
MLOps Expert | Solopreneur | Author | Adjunct Professor | CTO
Course details
In this course, MLOps expert Noah Gift presents a practical guide on how to use Rust with Python. After a short introduction to Rust and Python, learn how to install PyO3 and use the basic Rust library. Find out how to go from Rust to Python and explore the Rust ownership model. Examine a diagram of a PyO3 project and learn how to use the Python calculator CLI, PyO3 features, and PyO3 exceptions. Go over how to call Python from Rust, run Python with embedded Rust, and embed a Rust CLI diagram, Rust CLI, or Rust CLI test. Explore several Rust-built Python tools, the Polars CLI in Rust, and more. This course prepares you to integrate Rust with Python into your own workflows.
Skills covered
RustProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
1. Using Rust with Python
- 01 - Introduction - Instructor
- 02 - Introduction - Rust and Python
- 03 - PyO3 installation
- 04 - Basic Rust library
- 05 - Rust to Python
- 06 - Rust ownership model
- 07 - Diagram of a PyO3 project
- 08 - Python calculator CLI
- 09 - PyO3 features
- 10 - PyO3 exceptions
- 11 - Call Python from Rust
- 12 - Run Python with embedded Rust
- 13 - Embedded Rust CLI diagram
- 14 - Embedded Rust CLI
- 15 - Embedded Rust CLI test
- 16 - Rust-built Python tools
- 17 - Using the Rust Ruff linter
- 18 - Using Polars in Python with Rust
- 19 - Polars CLI in Rust
- 20 - Polars CLI test in Rust
- 21 - Polars CLI integration test
- 22 - Polars criterion benchmarking
Related courses
- Introduction to Embedded Systems with Rust
- Rust AWS Lambda
- AI Engineering Use Cases and Projects on AWS: Production-Grade LLM Systems
- Full-Stack Web Applications with Rust and Leptos
- Write Performative Programs with C#
- Choosing the Right Back-End Language: TypeScript, Go, or Rust for Your Greenfield Project
- Debugging Rust Code with AI
- Rust for C# Developers
Related learn paths
- Prepare for the Google Cloud Professional Cloud Architect Certification
- Prepare for the AWS Certified Security - Specialty (SCS-C02) Certification
- Develop Your Rust Skills for Data Engineering
- Prepare for the Google Cloud Professional Machine Learning Engineer Certification
- Master Substance Designer and Substance Painter
- Advance Your Skills in SQL
- Become a Power BI Specialist
- Become an RPA Developer