Skip to content

A collection of Python packages built on top of Rust

License

Notifications You must be signed in to change notification settings

AAVision/faster-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faster-Python

A collection of Python packages built on top of Rust.

Contents

Core Tools & Infrastructure

Tools for help building projects.

  • uv - An extremely fast Python package and project manager, written in Rust.
  • ruff - An extremely fast Python linter and code formatter, written in Rust.
  • maturin - Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages.
  • PyO3 - Rust bindings for Python, including tools for creating native Python extension modules. Running and interacting with Python code from a Rust binary is also supported.
  • RustPython - A Python Interpreter written in Rust.
  • Huak - My experimental Python package manager.
  • setuptools-rust - Setuptools plugin for Rust support.
  • maturin-action - GitHub Action to install and run a custom maturin command with built-in support for cross compilation.
  • python3-dll-a - Standalone python3.dll import library generator.
  • python-pkginfo-rs - Parse Python package metadata from sdist and bdists and etc.
  • maturin-import-hook - Import hook for maturin.
  • datafusion-ballista - Apache DataFusion Ballista Distributed Query Engine.

⬆ back to top

Data & Scientific Computing

Tools for building scientific projects.

  • polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust.
  • polars-lts-cpu - Polars is a DataFrame interface on top of an OLAP Query Engine implemented in Rust using Apache Arrow Columnar Format as the memory model.
  • connector-x - Fastest library to load data from DB to DataFrames in Rust and Python.
  • pydantic-core - Core validation logic for pydantic written in rust.
  • rust-numpy - Rust bindings for the NumPy C-API.
  • feos - A Framework for Equations of State and Classical Density Functional Theory.
  • delta-rs - A native Rust library for Delta Lake, with bindings into Python.
  • forust - A lightweight gradient boosted decision tree package.
  • mocpy - Python library to easily create and manipulate MOCs (Multi-Order Coverage maps).
  • arro3 - A minimal Python library for Apache Arrow, connecting to the Rust arrow crate.
  • parquet2 - Fastest and safest Rust implementation of parquet. unsafe free. Integration-tested against pyarrow.
  • rustworkx - A high performance Python graph library implemented in Rust.

⬆ back to top

Utilities & Formatters

Tools to help you in your projects.

  • orjson - Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy.
  • pixi - Package management made easy.
  • tiktoken - tiktoken is a fast BPE tokeniser for use with OpenAI's models.
  • tokenizers - 💥 Fast State-of-the-Art Tokenizers optimized for Research and Production.
  • jsonschema - A high-performance JSON Schema validator for Rust.
  • html2text-rs - Python library for converting HTML to markup or plain text.
  • tzfpy - Probably the fastest Python package to convert longitude/latitude to timezone name.
  • pyo3-built - Expose build variables obtained with built as a PyDict.
  • pyo3-async-runtimes - PyO3-based bridges between Python and Rust async runtimes.
  • pytantivy - Python bindings for Tantivy.
  • hyperjson - 🐍 A hyper-fast Python module for reading/writing JSON data using Rust's serde-json.
  • pyo3-log - Logging bridge from pyo3 native extension to python.
  • python-zstandard - Python bindings to the Zstandard (zstd) compression library.
  • molpipx - Differentiable version of Permutationally Invariant Polynomial (PIP) models in JAX and Rust.
  • PyOxidizer - A modern Python application packaging and distribution tool.
  • pylyzer - A fast, feature-rich static code analyzer & language server for Python.
  • rusty-logger - Fast Python logging library written in Rust, ready for production.

⬆ back to top

Web & Networking

Tools for building networking projects.

  • robyn - Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
  • granian - A Rust HTTP server for Python applications.
  • primp - 🪞PRIMP (Python Requests IMPersonate). The fastest python HTTP client that can impersonate web browsers.
  • utiles - utiles = utils & (web-map-)tiles w/ (rs & pyo3).
  • css-inline - Python library to easily create and manipulate MOCs (Multi-Order Coverage maps).

⬆ back to top

Cryptography & Security

Tools for securing your projects.

  • cryptography - cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
  • johnnycanencrypt - Python module for OpenPGP written in Rust.
  • fastbloom - A fast bloom filter implemented by Rust for Python! 10x faster than pybloom.
  • opendal - Apache OpenDAL: One Layer, All Storage.

⬆ back to top

Embedding & Interop

Tools to help you building embedding projects.

  • inline-python - Inline Python code directly in your Rust code.
  • rustimport - Import Rust source files directly from Python!

⬆ back to top

Emerging Projects

Tools to help you building emerging projects.

  • blake3-py - Python bindings for the BLAKE3 cryptographic hash function.
  • bed-reader - A library for easy, fast, and efficient reading & writing of PLINK Bed files.
  • cellular_raza - Cellular agent-based modeling from a clean slate.
  • rustimport - A fixed income library for pricing bonds and bond futures, and derivatives such as interest rate swaps (IRS), cross-currency swaps (XCS) and FX swaps. Contains tools for full Curveset construction with market standard optimisers and automatic differentiaton (AD) and risk sensitivity calculations including delta and cross-gamma.

⬆ back to top

Database

Tools for building database projects.

  • psqlpy - Asynchronous Python PostgreSQL driver written in Rust.
  • Raphtory - Scalable graph analytics database powered by a multithreaded, vectorized temporal engine, written in Rust.
  • Daft - Distributed data engine for Python/SQL designed for the cloud, powered by Rust.

⬆ back to top

Learning

Tools to learn binding Rust with Python.

LICENSE ⚖️

This project is licensed under the MIT License. See the LICENSE file for details.