# PyO3

> Rust bindings for Python: write Python extensions in Rust or embed Python

Source: https://talira.ai/catalog/pyo3-kv62pfvk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / language bindings](https://talira.ai/categories/developer-tools/language-bindings), [languages / rust](https://talira.ai/categories/languages/rust), [languages / python](https://talira.ai/categories/languages/python)
- Licence: MIT OR Apache-2.0[^1][^2][^3]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [PyO3](https://talira.ai/orgs/pyo3.md)

PyO3 is a set of [Rust](https://talira.ai/catalog/rust-mf51vs5t.md) bindings for [Python](https://talira.ai/catalog/python-tgjs08pq.md): you can write native Python extension modules in Rust, or run and interact with Python code from a Rust binary. It supports CPython 3.9+, PyPy 7.3 and GraalPy 25.4+, and pairs with maturin, which builds and publishes Rust-based Python packages with little configuration.

## Links

- Website: https://pyo3.rs/
- GitHub: https://github.com/pyo3/pyo3
- Docs: https://pyo3.rs/

## Problems it solves

- speed up a Python hot path by rewriting it in Rust
- call Python code from a Rust program
- publish a Rust library as a Python package

## Features

- native Python extension modules in Rust
- embed Python in a Rust binary
- CPython, PyPy and GraalPy support
- works with maturin for building wheels

## Trust

Overall: 0.73 out of 1.
Signals: maintenance 1.00, adoption 0.84, momentum 0.65, community 1.00, backing 0.30, extensibility 0.00.

- last commit yesterday
- 166 commits in the last 90 days
- latest release v0.30.1 46 days ago
- 16.4k GitHub stars
- 488 contributors
- has a company behind it

## Related

- Works with [Python](https://talira.ai/catalog/python-tgjs08pq.md)

## Alternatives

- [Rustler](https://talira.ai/catalog/rustler-w0cgm3kr.md): Write Erlang and Elixir NIFs in safe Rust
- [flutter_rust_bridge](https://talira.ai/catalog/flutter-rust-bridge-5cp1d45d.md): Call Rust code from Flutter and Dart, with the glue code generated for you
- [wasm-bindgen](https://talira.ai/catalog/wasm-bindgen-r2y6dgby.md): Generates the glue between Rust WebAssembly modules and JavaScript
- [napi-rs](https://talira.ai/catalog/napi-rs-ka76jrjv.md): A framework for building compiled Node.js add-ons in Rust via Node-API

## Sources

[^1]: https://github.com/pyo3/pyo3/blob/main/Cargo.toml (checked 29 Nov 2026)
[^2]: https://github.com/pyo3/pyo3/blob/main/LICENSE-APACHE (checked 29 Nov 2026)
[^3]: https://github.com/pyo3/pyo3/blob/main/LICENSE-MIT (checked 29 Nov 2026)
