RustPython is an implementation of the Python programming language written in Rust. Its goal is to provide a fast, embeddable, and secure interpreter that can be integrated into Rust applications or used standalone. Because it’s in Rust, it benefits from memory safety and modern tooling, allowing developers to compile Python into efficient binaries or embed it as a scripting engine in Rust projects. The interpreter aims to support the Python standard library, dynamic typing, garbage collection, and common builtins, although full compatibility is a work in progress. It also supports bytecode compilation and execution, enabling faster startup and reuse of parsed code. By bridging the two language ecosystems, RustPython offers a compelling path for projects that want Python flexibility but desire Rust’s performance and safety discipline.

Features

  • Full interpreter for Python 3 features, standard library, REPL support
  • Ability to build to WebAssembly (WASM / WASI), enabling running in environments that support WASM
  • Optional JIT support (experimental) to speed up execution of Python code by compiling some portions to native code
  • Embedding capability: ability to embed RustPython into Rust apps as scripting engine
  • SSL / pip support via feature flags, ability to install pip and use package installation etc
  • Extensive test suite, examples, and architecture documentation, with community contributions and improvements over time

Project Samples

Project Activity

See All Activity >

Categories

Interpreters

License

MIT License

Follow RustPython

RustPython Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of RustPython!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Interpreters

Registered

2025-09-18