Skip to content

rp-libs/awesome-rust-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Rust Python Awesome

Python libraries and tools powered by Rust.

Rust brings performance, safety, and concurrency to Python. This list showcases libraries that leverage Rust to supercharge Python applications.


📚 Contents


🏗️ Build Tools & Frameworks

Tools and frameworks for building Rust-powered Python extensions.

  • cpython - Experimental Rust-for-CPython branch focused on bringing Rust into CPython internals.
  • inline-python - Inline Python code directly in your Rust code.
  • maturin - Build and publish Rust-based Python packages with minimal configuration.
  • pyo3-async-runtimes - PyO3-based bridges between Python and Rust async runtimes.
  • pyo3-file - 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.
  • rustimport - Import Rust source files directly from Python.
  • RustPython - Python Interpreter written in Rust.
  • setuptools-rust - Setuptools plugin for building Rust extensions.

🧠 Data Processing

High-performance data processing and serialization libraries.

  • delta-rs - Native Rust library for Delta Lake with Python bindings.
  • jiter - Fast iterable JSON parser.
  • ormsgpack - MessagePack serialization library for Python written in Rust.
  • orjson - Fast, correct JSON library.
  • polars - DataFrame library with a Pandas-like API.
  • pydantic-core - Core validation logic for Pydantic v2.
  • rustworkx - High-performance Python graph library implemented in Rust.
  • yaml-rs - High-performance YAML v1.2 parser.

🛠️ Development Tools

Developer tools that enhance Python development workflows.

  • huak - Python package manager.
  • prek - Fast reimplementation of the pre-commit framework.
  • pylyzer - Static code analyzer and language server.
  • ruff - Extremely fast Python linter and code formatter.
  • rumdl - Markdown linter and formatter.
  • rye - Python project management tool.
  • ty - Python type checker and language server.
  • uv - Python package installer and resolver.

🌐 Web & Networking

Web servers, networking libraries, and cryptographic tools.

  • BustAPI - High-performance Python web framework.
  • compio-py - AsyncIO event loop using Rust compio.
  • cryptography - Cryptographic recipes and primitives.
  • django-bolt - Rust-powered API framework for Django.
  • granian - High-performance ASGI/WSGI server.
  • httparse - Wrapper for the httparse HTTP parser.
  • leviathan - Lightning-fast event loop for Python asyncio.
  • nh3 - Binding to Ammonia HTML sanitizer.
  • pyreqwest - HTTP client based on reqwest.
  • pyrtls - Rustls-based TLS library.
  • rloop - AsyncIO event loop.
  • rnet - HTTP client with TLS fingerprinting.
  • Robyn - Async web framework with a Rust runtime.

🤖 Machine Learning & AI

Tools for machine learning, NLP, and AI applications.

  • boxlite - Local-first sandbox for AI agents.
  • chroma - Search and retrieval database for AI applications.
  • monty - Minimal secure Python interpreter for AI workloads.
  • safetensors - Safe and fast tensor serialization format.
  • tokenizers - Fast tokenizers for NLP pipelines.

⚡ Performance & Caching

High-performance caching and data structure libraries.

  • cachebox - Memoizing and caching library.
  • fastbloom - Bloom filter implementation.
  • moka-py - High performance caching library.
  • rbloom - Bloom filter library.

📝 Text Processing & Parsing

Libraries for text processing, parsing, and manipulation.

  • comrak - Python bindings for Comrak CommonMark/GFM parser.
  • Python-Regex - Port of the Rust regex library.
  • pyromark - Markdown parser.
  • regex-rs - Bindings for the regex crate.
  • tantivy-py - Bindings for Tantivy full-text search engine.

🧰 Utilities

Miscellaneous utility libraries.

  • geohashr - Geohashing library.
  • hexora - Static analysis of malicious code.
  • imgrs - High-performance image processing library for Python powered by Rust.
  • oxyde - Type-safe async ORM with a high-performance Rust core.
  • jsrun - JavaScript runtime powered by V8.
  • magic-rs - Dependency-free file type detection backed by Rust.
  • PyDomainExtractor - Domain extraction library.
  • pythonize - Serialization library for Rust types.
  • ratatui-py - Python bindings for Ratatui (Rust TUI) via FFI.
  • result - Rust-like Result type.
  • rtoml - TOML library.
  • ryaml - YAML library.
  • tonio - Multi-threaded async runtime.
  • ulid-rs-py - Fast ULID implementation for Python.
  • uuid-utils - Bindings to Rust UUID.
  • whenever - Modern datetime library.
  • zensical - Static site generator.

🎮 Game Development

Game engines and frameworks.

  • pyxel - Retro game engine.

📖 Resources

Learning Materials

Articles & Blog Posts

Contributing

Contributions are welcome! Please read the contribution guidelines first.

About

A curated list of awesome Python libraries and tools powered by Rust

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published