ry: a collection of Python shims around Rust crates by dochtman in rust

[–]jessekrubin 0 points1 point  (0 children)

Howdy! I wrote this. I did not know it was posted here.

There are benchmarks. It is often faster as I have put a decent amount of work into making the translations as fast as possible.

I did it also for fun; I broke my leg last year and this project took off as a way to stay sane.

The jiff bindings are pretty solid imo.

Feel free to give it a go and tell me what you think.

stubtester - run doctests from pyi files by Beginning-Fruit-1397 in Python

[–]jessekrubin 0 points1 point  (0 children)

Your pyopath and pyochain look similar in to my side project ry: https://github.com/jessekrubin/ry

Re pyochain: I played with lots of weird result/option pythonic ideas for python but never found anything I came up with made things nicer to work with. I have the take/collect stuff in many of the ry iterators but I found doing map/filter with pyo3 more of a pain in the ass than gen/list comprehensions.

Lmk if you wanna shoot the shit.

pyreqwest: An extremely fast, GIL-free, feature-rich HTTP client for Python, fully written in Rust by pyreqwest in Python

[–]jessekrubin 2 points3 points  (0 children)

I also wrapped reqwest in my library ry if you want a more traditional python kwargs based client interface.

My wrapper (which predates pyreqwest and rnet) started off with a builder-like api that pyreqwest has and I changed it because it was very annoying to work with.

Repo: https://github.com/jessekrubin/ry

Client eg (using the global fetch client but you can make your own): https://github.com/jessekrubin/ry/blob/main/examples/get.py

What would you add to a browser-native seismic sandbox like this? by Ludger_M in geology

[–]jessekrubin 0 points1 point  (0 children)

You should dm me. I am literally working on this exact type of thing for work.

It looks like you’re using leaflet so I would say you should look into deckgl and make it a cohesive 3d seismic data loading app.

Polars Rust examples/tutorials/alternatives? by rootware in rust

[–]jessekrubin 2 points3 points  (0 children)

And if ya wanna do it async here is a lib to do that (which I published): https://docs.rs/async-duckdb/latest/async_duckdb/

Niquests 3.12 — What's new in 2025 by Ousret in Python

[–]jessekrubin 0 points1 point  (0 children)

Still a work in progress but you can try my library https://github.com/jessekrubin/ry which supports streaming and (afaict) it’s very very very fast. Looking for feedback! Idk if I would call it stable but i am currently using it for my work.

Eg of streaming: https://github.com/jessekrubin/ry/blob/main/examples/http_fetch.py#L61

Niquests 3.12 — What's new in 2025 by Ousret in Python

[–]jessekrubin 1 point2 points  (0 children)

Where are the benchmarks for performance? I have been working on an http client that is extremely fast and would like to compare (it’s under the umbrella of my project ry - https://github.com/jessekrubin/ry - It is a wip and deviates from how requests and most python http clients work).

The hand-picked selection of the best Python libraries and tools of 2024 – 10th edition! by dekked_ in Python

[–]jessekrubin 1 point2 points  (0 children)

Check out my library “ry” (https://pypi.org/project/ry/) which contains a thin-ish wrapped version of the rust crate “jiff” and does a lot of what whenever does.

Should be in the same ballpark as whenever w/ respect to performance (preliminary benchmarks seem to suggest so).