The pyembed Rust CrateΒΆ

The pyembed Rust crate facilitates the control of an embedded Python interpreter.

The crate provides an API for instantiating and controlling an embedded Python interpreter. It also defines a custom meta path importer that can be used to import Python resources (such as module bytecode) from memory.

The crate is developed alongside the PyOxidizer project. However, it is a generic crate and can be used outside the context of PyOxidizer.

The pyembed crate is published to crates.io and its Rust documentation is available at https://docs.rs/pyembed.