The pyembed Rust CrateΒΆ

The pyembed Rust crate facilitates the embedding of a Python interpreter in a Rust binary.

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.