pyo3-maturin-bindings - Python bindings for Rust libraries using PyO3 and maturin
Guide for creating, building, testing, debugging, and publishing Python bindings for Rust libraries using PyO3 and maturin.
Tags
Updated: 2026-09-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Expose Rust types to Python
- Register PyO3 modules
- Convert Rust and Python types
- Handle cross-boundary FFI errors
- Manage GIL and memory safety
- Build wheels using maturin
Inputs
- Rust library source code
- Cargo.toml configuration
- pyproject.toml configuration
Outputs
- Python extension modules
- Python wheel packages
Requirements
- PyO3 crate
- maturin build tool
- Python environment
- pytest framework
