RustPython
by
RustPython

Description: A Python Interpreter written in Rust

View on GitHub ↗

Summary Information

Updated 37 minutes ago
Added to GitGenius on December 29th, 2025
Created on May 28th, 2018
Open Issues & Pull Requests: 379 (+0)
Number of forks: 1,452
Total Stargazers: 22,166 (+0)
Total Subscribers: 167 (+0)

Issue Activity (beta)

Open issues: 223
New in 7 days: 4
Closed in 7 days: 1
Avg open age: 960 days
Stale 30+ days: 209
Stale 90+ days: 191

Recent activity

Opened in 7 days: 4
Closed in 7 days: 1
Comments in 7 days: 1
Events in 7 days: 10

Top labels

  • C-compat (185)
  • C-bug (112)
  • good first issue (79)
  • RFC (75)
  • A-stdlib (66)
  • C-enhancement (30)
  • E-help-wanted (27)
  • A-design (19)

Repository Insights (GitGenius)

Median issue/PR response: 10.8 hours
Mean response time: 380.8 days
90th percentile: 1307.6 days
Tracked items: 425

Most active contributors

Detailed Description

RustPython is a Python-3 interpreter implementation written entirely in Rust, targeting compatibility with CPython version 3.14.0 and later. Rather than wrapping or binding to CPython, RustPython provides a clean, native implementation of the Python language runtime in Rust without compatibility hacks. The project maintains an online WebAssembly demo that allows users to run Python code directly in a web browser, demonstrating one of its key capabilities.

The interpreter supports multiple deployment and embedding scenarios. Users can build RustPython locally using Rust's stable toolchain and run it as an interactive shell or execute Python scripts directly. The project provides pip package manager support through optional SSL features, with configurable SSL providers including rustls and OpenSSL. RustPython can also be compiled to WebAssembly WASI modules for execution in WebAssembly environments using tools like wasmer. For developers embedding Python in Rust applications, RustPython offers examples and APIs for exposing Python scripting capabilities within larger Rust projects, addressing use cases where Python's flexibility would complement Rust's performance.

The repository includes an experimental just-in-time compiler feature that can compile Python functions into native code, though this remains in early development. The standard library is managed through symlinks and can be frozen into WebAssembly binaries for standalone deployment. Windows users receive specific guidance for environment configuration through the RUSTPYTHONPATH variable.

According to GitGenius activity tracking, the repository shows a median issue and pull request response latency of 11.8 hours across 421 tracked items, indicating active maintenance. The most frequently addressed issue categories are bugs (87 occurrences), compatibility concerns (64 occurrences), and standard library additions (30 occurrences). Top contributors tracked by GitGenius include youknowone with 654 events, arihant2math with 133 events, and ShaharNaveh with 83 events. The project maintains overlapping contributor relationships with repositories including github/gh-aw, solo-io/gloo, and microsoft/vscode.

RustPython has found practical applications in production systems. GreptimeDB, an open-source distributed time-series database, uses RustPython for embedded scripting. The pyckitup game engine, Robot Rumble AI competition platform, and Ruff, a high-performance Python linter written in Rust, all leverage RustPython for their Python integration needs. The project explicitly acknowledges its development status, noting that while suitable for interesting use cases like WASM execution and Rust embedding, it is not yet fully production-ready. The repository welcomes contributions through its established guidelines and maintains community engagement via Discord.

RustPython
by
RustPythonRustPython/RustPython

Repository Details

Fetching additional details & charts...