18 breaking releases

0.24.0 Dec 29, 2022
0.23.0 Nov 8, 2022
0.22.0 Jun 5, 2022
0.20.0 Mar 6, 2022
0.6.0 Feb 13, 2020

#156 in #interpreter

Download history 3819/week @ 2024-12-09 3581/week @ 2024-12-16 1500/week @ 2024-12-23 1438/week @ 2024-12-30 2800/week @ 2025-01-06 3393/week @ 2025-01-13 3632/week @ 2025-01-20 3482/week @ 2025-01-27 3760/week @ 2025-02-03 4409/week @ 2025-02-10 4008/week @ 2025-02-17 3572/week @ 2025-02-24 3169/week @ 2025-03-03 3927/week @ 2025-03-10 2739/week @ 2025-03-17 2849/week @ 2025-03-24

12,850 downloads per month

Python-2.0 OR MPL-2.0

1MB
22K SLoC

Rust 20K SLoC // 0.1% comments Python 2.5K SLoC // 0.0% comments

pyembed

pyembed is a Rust library crate facilitating the control of Python interpreters within Rust applications. It is a glorified wrapper around the pyo3 crate (which provides a Rust interface to Python's C APIs). Its main value proposition over using pyo3 directly is that it provides additional value-add features such as integration with the oxidized_importer extension module for importing Python modules and resources from memory.

pyembed is part of the PyOxidizer Project but it is usable by any Rust project embedding Python.

Dependencies

~12–22MB
~362K SLoC