awesome-rust-python
A curated list of awesome Python libraries and tools powered by Rust
https://github.com/rp-libs/awesome-rust-python
Last synced: 3 days ago
JSON representation
-
Build Tools & Frameworks
- inline-python - Inline Python code directly in your Rust code.
- maturin - Build and publish Rust-based Python packages with minimal configuration. Supports multiple build backends and handles wheel building.
- pyo3-async-runtimes - PyO3-based bridges between Python and Rust async runtimes.
- pyo3-file - A small helper library for working with python file-like objects with rust.
- pyo3-stub-gen - Stub file (*.pyi) generator for PyO3.
- PyO3 - Rust bindings for Python, including tools for creating native Python extension modules. The foundation for most Rust-Python projects.
- rustimport - Import Rust source files directly from Python!
- RustPython - A Python Interpreter written in Rust.
- setuptools-rust - Setuptools plugin for building Rust extensions, integrating seamlessly with existing Python packaging workflows.
-
Data Processing
- jiter - Fast iterable JSON parser.
- ormsgpack - Msgpack serialization/deserialization library for Python, written in Rust using PyO3.
- orjson - Fast, correct JSON library for Python. Serializes dataclass, datetime, numpy, and UUID instances natively.
- polars - Lightning-fast DataFrame library with a Pandas-like API. Built entirely in Rust for maximum performance on large datasets.
- pydantic-core - Core validation logic for Pydantic v2, providing blazing-fast data validation and serialization.
- yaml-rs - A High-Performance YAML v1.2 Parser for Python written in Rust.
-
Development Tools
- huak - Experimental Python package manager.
- pylyzer - A fast, feature-rich static code analyzer & language server for Python.
- ruff - Extremely fast Python linter and code formatter, 10-100x faster than existing tools. Replaces Flake8, isort, and more.
- rumdl - Markdown Linter and Formatter written in Rust.
- prek - A fast, Rust-based reimplementation of the pre-commit framework. ~10x faster with zero dependencies.
- rye - Experimental Python project management tool from the creator of Flask. Handles Python installations, dependencies, and virtualenvs.
- uv - Ultra-fast Python package installer and resolver, designed as a drop-in replacement for pip and pip-tools.
-
Web & Networking
- cryptography - Cryptographic recipes and primitives for Python. Core cryptographic operations implemented in Rust for security and performance.
- granian - High-performance ASGI/WSGI server built with Rust, supporting HTTP/1, HTTP/2, and WebSockets.
- httparse - Python wrapper for Rust's httparse HTTP parser.
- nh3 - Python binding to Ammonia HTML sanitizer Rust crate.
- pyreqwest - Fast Python HTTP client based on Rust reqwest.
- pyrtls - rustls-based modern TLS for Python.
- rloop - An AsyncIO event loop implemented in Rust.
- rnet - An ergonomic Python HTTP Client with TLS fingerprint.
- Robyn - Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
-
Machine Learning & AI
- chroma - Open-source search and retrieval database for AI applications.
- safetensors - Safe and fast tensor serialization format. Prevents arbitrary code execution and enables zero-copy deserialization.
- tokenizers - Fast tokenizers for modern NLP pipelines from Hugging Face. Provides extremely fast training, tokenization, and encoding.
-
Performance & Caching
- cachebox - The fastest memoizing and caching Python library written in Rust.
- fastbloom - A fast bloom filter implemented by Rust for Python! 10x faster than pybloom!
- moka-py - A high performance caching library for Python written in Rust.
- rbloom - A fast, simple and lightweight Bloom filter library for Python, implemented in Rust.
-
Text Processing & Parsing
- pyromark - Blazingly fast Markdown parser for Python written in Rust.
- tantivy-py - Python bindings for Tantivy full-text search engine.
-
Utilities
- geohashr - Just another Python geohashing library.
- PyDomainExtractor - A blazingly fast domain extraction library written in Rust.
- uuid-utils - Python bindings to Rust UUID.
- whenever - Modern datetime library for Python.
-
Game Development
- pyxel - A retro game engine for Python.
-
Resources
-
Learning Materials
- PyO3 User Guide - Comprehensive guide to building Python extensions with Rust
- Calling Rust from Python - Tutorial series on Rust-Python integration
- Speed Up Your Python with Rust - Red Hat's guide to optimizing Python with Rust
-
Articles & Blog Posts
- Why Polars uses Rust - Insights into choosing Rust for data processing
- Pydantic V2 Plan - How Rust powers Pydantic's performance improvements
- Ruff: One Tool to Rule Them All - The story behind building a fast Python linter in Rust
-
Categories
Sub Categories
Keywords
python
20
rust
19
pyo3
4
python3
4
packaging
3
pydantic
3
numpy
2
datetime
2
json
2
dataclasses
2
static-analysis
2
http-server
2
asyncio
2
cpython
2
html
2
pypy
2
pyxel
1
tic-80
1
webgl
1
pixel-art
1
pico-8
1
opengl
1
compiler
1
interpreter
1
jit
1
language
1
python-language
1
wasm
1
async
1
backend
1
web
1
cffi
1
cross-compile
1
manylinux
1
binding
1
ffi
1
python-c-api
1
document-retrieval
1
embeddings
1
llms
1
linter
1
pep8
1
ruff
1
rustpython
1
static-code-analysis
1
style-guide
1
styleguide
1
arrow
1
dataframe
1
dataframe-library
1