News

The most widely recognized project for creating Rust bindings in Python is PyO3. It can be used to write Python modules in Rust, or to embed the Python runtime in a Rust binary.
Who it’s best for: Those creating many Python projects with Rust bindings, or those trying to distribute such projects to others. Related video: Developing safer software with Rust.
Create a custom #[py_annindex] procedural macro that generates PyO3 bindings from Rust trait signatures, reducing boilerplate and enforcing consistent docstrings. Procedural macros are non‑trivial.
fastre is a powerful Python library that wraps the blazing-fast Rust fancy-regex crate, bringing enhanced speed to your regular expression operations. It's designed to be a drop-in replacement for ...