Tool Open source

PyO3

PyO3 is a Rust library for binding Rust code to Python. It can generate native Python extension modules from Rust and embed Python in a Rust binary, with facilities for converting types and interacting across the Python C API boundary. It also provides helpers for coordinating asynchronous work between Rust futures and Python's asynchronous model. The project supports CPython, PyPy, and GraalPy, and is distributed as a Rust crate; its documentation shows maturin as a tool for building and publishing PyO3-based Python packages.

View repository Visit site Mentioned in 1 video ↓

What PyO3 is used for

1 use taken from transcripts — each links to the moment in the video.

  • PyO3 is a helper library for bridging Rust code into Python, including support for handling asynchronous work across the language boundary.

    unverified InfoQ11:57

Videos mentioning PyO3

1 in the library.