Tools for QTVR 1 files
Pythonic bindings for FFmpeg's libraries.
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages
My new favorite way to write very fast libraries for Python is to just use Rust and Maturin:
It basically automates everything for you. If you use it with Github actions, it will compile wheels for you on each release for every platform and python version you want, and even upload them to PyPi (pip) for you. Everything feels very modern and well thought out. People really care about good tooling in the Rust world.
ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
I would love some examples of how to do non-trivial data interop between Rust and Python. My experience is that PyO3/Maturin is excellent when converting between simple datatypes but conversions get difficult when there are non-standard types, e.g. Python Numpy arrays or Rust ndarrays or whatever other custom thing.
Polars seems to have a good model where it uses the Arrow in memory format, which has implementations in Python and Rust, and makes a lot of the ndarray stuff easier. However, if the Rust libraries are not written with Arrow first, they become quite hard to work with. For example, there are many libraries written with https://github.com/rust-ndarray/ndarray, which is challenging to interop with Numpy.
(I am not an expert at all, please correct me if my characterizations are wrong!)
The Fast Vector Similarity Library is designed to provide efficient computation of various similarity measures between vectors.
You can see how I did something similar in my library here:
Basically you use ndarray instead of numpy, try to vectorize anything you can, and for the for loops that can’t be vectorized, you can use rayon to do them in parallel.
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Robyn Finds a New Nest: Joining the Sparckles Open-Source Organization
1 project | /r/rust | 25 Jun 2023
Robyn – A Python Web Framework with a Rust Runtime
1 project | news.ycombinator.com | 11 Jun 2023
Which programming language to focus on for my PhD journey in bioinformatics?
4 projects | /r/rust | 6 Jun 2023
Robyn v0.32.0 Introduces SubRouters – A Compact Way to Group Routes
2 projects | news.ycombinator.com | 3 Jun 2023
Stream processing framework for a new project in Python
1 project | /r/dataengineering | 2 Jun 2023