SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Rust Python Projects
-
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.
-
grex
A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases
-
rerun
Visualize streams of multimodal data. Fast, easy to use, and simple to integrate. Built in Rust using egui.
-
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.
-
extism
The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.
-
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..
-
maturin
Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages
-
trustfall
A query engine for any combination of data sources. Query your files and APIs as if they were databases!
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Ask HN: High quality Python scripts or small libraries to learn from | news.ycombinator.com | 2024-04-19I 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
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-...).
Project mention: Show HN: Driftmania – an open source PICO-8 racing game | news.ycombinator.com | 2024-02-16Nice 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
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
Project mention: grex 1.0.0 - Generate regular expressions from user-provided test cases | /r/Python | 2023-08-31
Project mention: Rapier is a set of 2D and 3D physics engines written in Rust | news.ycombinator.com | 2024-02-26Maybe 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
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
Project mention: Extism – make all software programmable. Extend from within | news.ycombinator.com | 2024-04-08
Link to GitHub -->
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.
Project mention: Pylyzer – A fast static code analyzer and language server for Python | news.ycombinator.com | 2024-04-11Looking 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
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
Project mention: Improving Interoperability Between Rust and C++ | news.ycombinator.com | 2024-02-05Yeah, 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
It's also possible to do this from many other languages. For example rust, ruby, python or from the CLI.
Project mention: Pylyzer – A fast static code analyzer and language server for Python | news.ycombinator.com | 2024-04-11
Project mention: Delta-rs – a Rust-based implementation of deltalake | news.ycombinator.com | 2024-04-08
Project mention: How moving from Pandas to Polars made me write better code without writing better code | dev.to | 2024-03-05This 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.
There are benchmarks here - https://github.com/Eventual-Inc/Daft?tab=readme-ov-file#benc.... Seems to outperform Dask by a fair bit.
Rust Python related posts
- The Nimble File Format by Meta
- Changelog-Driven Releases
- Show HN: MyFirst Rust Project: Finding unused Python packages
- ReductStore CLI Client now in Rust
- Delta-rs – a Rust-based implementation of deltalake
- Encapsulation in Rust and Python
- Show HN: TextQuery – Query and Visualize Your CSV Data in Minutes
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
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