RustPython is a Python 3 compatible interpreter implemented in Rust. It functions as a scripting engine that can be embedded directly into host applications, allowing for the execution of dynamic scripts and the customization of software behavior within a memory-safe environment.
The project distinguishes itself through its ability to bridge Python and JavaScript runtimes, enabling data exchange and function invocation across language boundaries. It also provides a portable execution environment by compiling Python code into WebAssembly, which allows for the execution of logic directly within web browsers and other sandboxed environments.
Beyond its core interpreter capabilities, the project supports the management of third-party packages to extend functionality and includes tools for interacting with browser-native features. It also provides mechanisms for configuring network security and accelerating the execution of logic-heavy code. The project is distributed as a library designed for integration into native applications or web-based runtimes.