Rust Python

Open-source Rust projects categorized as Python

Top 23 Rust Python Projects

  • ruff

    An extremely fast Python linter and code formatter, written in Rust.

  • Project mention: Ask HN: High quality Python scripts or small libraries to learn from | news.ycombinator.com | 2024-04-19

    I think I mention this all the time when this comes up, but I learned the most 'best practices' through using ruff.

    https://docs.astral.sh/ruff/

    I just installed and enabled all the rules by setting

  • polars

    Dataframes powered by a multithreaded, vectorized query engine, written in Rust

  • Project mention: Why Python's Integer Division Floors (2010) | news.ycombinator.com | 2024-02-28

    This is because 0.1 is in actuality the floating point value value 0.1000000000000000055511151231257827021181583404541015625, and thus 1 divided by it is ever so slightly smaller than 10. Nevertheless, fpround(1 / fpround(1 / 10)) = 10 exactly.

    I found out about this recently because in Polars I defined a // b for floats to be (a / b).floor(), which does return 10 for this computation. Since Python's correctly-rounded division is rather expensive, I chose to stick to this (more context: https://github.com/pola-rs/polars/issues/14596#issuecomment-...).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pyxel

    A retro game engine for Python

  • Project mention: Show HN: Driftmania – an open source PICO-8 racing game | news.ycombinator.com | 2024-02-16

    Nice work, gives me very Micro Machines vibes for the NES. The only thing I don't like about PICO-8 is that its completely closed source. An open source alternative that seems very promising is Pyxel. It has similar retro / pixel art limitations, a built-in sprite editor, music tracker, etc.

    https://github.com/kitao/pyxel

  • py-spy

    Sampling profiler for Python programs

  • Project mention: Minha jornada de otimização de uma aplicação django | dev.to | 2024-03-13
  • PyO3

    Rust bindings for the Python interpreter

  • Project mention: Encapsulation in Rust and Python | dev.to | 2024-04-05

    Integrating Rust into Python, Edward Wright, 2021-04-12 Examples for making rustpython run actual python code Calling Rust from Python using PyO3 Writing Python inside your Rust code — Part 1, 2020-04-17 RustPython, RustPython Rust for Python developers: Using Rust to optimize your Python code PyO3 (Rust bindings for Python) Musing About Pythonic Design Patterns In Rust, Teddy Rendahl, 2023-07-14

  • grex

    A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases

  • Project mention: grex 1.0.0 - Generate regular expressions from user-provided test cases | /r/Python | 2023-08-31
  • rerun

    Visualize streams of multimodal data. Fast, easy to use, and simple to integrate. Built in Rust using egui.

  • Project mention: Rapier is a set of 2D and 3D physics engines written in Rust | news.ycombinator.com | 2024-02-26

    Maybe the folks at Rerun [1] know something about it? I imagine at least some of their customers are Rust robotics shops.

    [1] https://github.com/rerun-io/rerun

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • datafusion

    Apache DataFusion SQL Query Engine

  • Project mention: Velox: Meta's Unified Execution Engine [pdf] | news.ycombinator.com | 2024-03-25

    Python's Substrait seems like the biggest/most-used competitor-ish out there. I'd love some compare & contrast; my sense is that Substrait has a smaller ambition, and more wants to be a language for talking about execution rather than a full on execution engine. https://github.com/substrait-io/substrait

    We can also see from the DataFusion discussion that they too see themselves as a bit of a Velox competitor. https://github.com/apache/arrow-datafusion/discussions/6441

  • paradedb

    Postgres for Search and Analytics

  • Project mention: Using ClickHouse to scale an events engine | news.ycombinator.com | 2024-04-11
  • extism

    The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.

  • Project mention: Extism – make all software programmable. Extend from within | news.ycombinator.com | 2024-04-08
  • oso

    Oso is a batteries-included framework for building authorization in your application.

  • Project mention: Who's hiring developer advocates? (October 2023) | dev.to | 2023-10-02

    Link to GitHub -->

  • lance

    Modern columnar data format for ML and LLMs implemented in Rust. Convert from parquet in 2 lines of code for 100x faster random access, vector index, and data versioning. Compatible with Pandas, DuckDB, Polars, Pyarrow, with more integrations coming..

  • Project mention: The Nimble File Format by Meta | news.ycombinator.com | 2024-04-25
  • maturin

    Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages

  • Project mention: In Rust for Python: A Match from Heaven | dev.to | 2024-01-03

    This story unfolds as a captivating journey where the agile Flounder, representing the Python programming language, navigates the vast seas of coding under the wise guidance of Sebastian, symbolizing Rust. Central to their adventure are three powerful tridents: cargo, PyO3, and maturin.

  • moon

    A task runner and repo management tool for the web ecosystem, written in Rust.

  • erg

    A statically typed language compatible with Python

  • Project mention: Pylyzer – A fast static code analyzer and language server for Python | news.ycombinator.com | 2024-04-11

    Looking through the code, Pylyzer seems to be a thin wrapper around Erg [1]. To typecheck, it converts your Python AST to an Erg AST, then runs its through the Erg typechecker and returns the errors.

    Faster typechecking for Python is very much needed. But this project seems like it was built in a hackathon —- it is not a true standalone typchecker.

    [1] https://github.com/erg-lang/erg

  • trustfall

    A query engine for any combination of data sources. Query your files and APIs as if they were databases!

  • Project mention: Planner programming blows my mind | news.ycombinator.com | 2024-02-20

    Pleasantly surprised to see Predrag show up as a reviewer, but at the same time not at all surprised:

    - The [Firebase technical screen](https://startupandrew.com/posts/how-firebase-interviewed-sof...) would have been much easier with something like this, as it was Just Another Optimization Problem™. Part of me wants to try it again with Picat!

    - He's doing other very interesting things with programming languages, e.g.: https://github.com/obi1kenobi/trustfall

  • granian

    A Rust HTTP server for Python applications

  • Project mention: Improving Interoperability Between Rust and C++ | news.ycombinator.com | 2024-02-05

    Yeah, PyO3 is great. I've tried to play around with releasing the GIL from rust in Python 3.12. I would enjoy writing a WSGI/ASGI server with a Celery runtime at some point too. Or contribute to Granian.

    https://github.com/emmett-framework/granian

  • wasmer-python

    🐍🕸 WebAssembly runtime for Python

  • Project mention: WebAssembly: byte-code of the future | dev.to | 2023-08-14

    It's also possible to do this from many other languages. For example rust, ruby, python or from the CLI.

  • pylyzer

    A fast static code analyzer & language server for Python

  • Project mention: Pylyzer – A fast static code analyzer and language server for Python | news.ycombinator.com | 2024-04-11
  • delta-rs

    A native Rust library for Delta Lake, with bindings into Python

  • Project mention: Delta-rs – a Rust-based implementation of deltalake | news.ycombinator.com | 2024-04-08
  • rust-cpython

    Rust <-> Python bindings

  • connector-x

    Fastest library to load data from DB to DataFrames in Rust and Python

  • Project mention: How moving from Pandas to Polars made me write better code without writing better code | dev.to | 2024-03-05

    This was originally a blocker, however, we managed to set up a multi-stage Docker build to build from source. Here is the Github issue where we, along with community members, managed to solve it.

  • Daft

    Distributed DataFrame for Python designed for the cloud, powered by Rust

  • Project mention: Daft: Distributed DataFrame for Python | news.ycombinator.com | 2024-02-29

    There are benchmarks here - https://github.com/Eventual-Inc/Daft?tab=readme-ov-file#benc.... Seems to outperform Dask by a fair bit.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Python related posts

Index

What are some of the best open-source Python projects in Rust? This list will help you:

Project Stars
1 ruff 26,504
2 polars 26,043
3 pyxel 13,146
4 py-spy 11,850
5 PyO3 10,997
6 grex 6,521
7 rerun 5,154
8 datafusion 5,020
9 paradedb 3,803
10 extism 3,757
11 oso 3,403
12 lance 3,256
13 maturin 3,232
14 moon 2,587
15 erg 2,572
16 trustfall 2,268
17 granian 2,026
18 wasmer-python 1,955
19 pylyzer 1,952
20 delta-rs 1,820
21 rust-cpython 1,800
22 connector-x 1,769
23 Daft 1,666

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com