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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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