Section 2: Fusing Rust with Python
Now that you are familiar with Rust, we can start utilizing it. Before we do this, we need to cover how to build Python packages that can be installed with pip. Once this has been done, we can build Python pip modules in Rust. This is where we can import our compiled Rust code into our Python code and run it with all the benefits of Rust in our Python application. We then go further into this by working with Python objects and using Python modules inside the Rust code.
This section comprises the following chapters:
- Chapter 4, Building pip Modules in Python
- Chapter 5, Creating a Rust Interface for Our pip Module
- Chapter 6, Working with Python Objects in Rust
- Chapter 7, Using Python Modules in Rust
- Chapter 8, Structuring an End-to-End Python Module in Rust