Panther
ZenithTA
Panther | ZenithTA | |
---|---|---|
2 | 1 | |
213 | 213 | |
- | - | |
4.3 | 0.0 | |
over 1 year ago | over 1 year ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Panther
- Panther: A high performance Python technical analysis library written in Rust using PyO3 and rust-numpy. 9x faster than pandas alone!
-
Man, I love this language.
I recently started learning rust and decided to make a python library with PyO3 and NDArray as a first project. With the name Panther, the library was supposed to be an implementation of stock technical indicators (EMA, SMA, RSI, Ect). I added a few functions, and decided to do some speed tests with the pandas way of calculating these indicators. I was shocked to see that my code was about 9x faster on average than pandas calculations. I know this is expected when using a low level language like rust in python, but I'm amazed none the less. Especially as someone new to rust, the fact I could get these "advertised" results with rust in python without having to do crazy optimizations is crazy to me. Plus, something about writing low-level code and getting these results in python is very satisfying. The best part though? The process to get these results wasn't even hard! The cargo packages I used had great documentation and the compiler?! Actually helpful! With reference material on errors too! Officially done geeking out about Rust haha but love this language and love this community. Hoping to get more involved with OS stuff. What project is everyone working on? Anything cool?
ZenithTA
-
Easiest way to get a pandas dataframe from python to rust?
I have a technical analysis library written for Python using Rust and PyO3 called ZenithTA. A typical Dataframe for a stock has four columns: open, high, low, and close. Currently, I am converting each of the rows into lists to pass into Rust. It would be way easier if the end user could just pass in the dataframe, and I could just manipulate it in Rust. Does anyone have any tips or advice for doing this?
What are some alternatives?
boing - A safe wrapper over libui-ng-sys.
lazerpay-rust-sdk - Lazerpay SDK for Rust 🦀
polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust
tsdownsample - High-performance time series downsampling algorithms for visualization
pyo3-polars - Pyo3 extensions for polars
tendie-factory - Tendie-Factory is a work in progress application that seeks to track the stocks mentioned in the wallstreetbets subreddit.
docs.rs - crates.io documentation generator
FinNLP-Progress - NLP progress in Fintech. A repository to track the progress in Natural Language Processing (NLP) related to the domain of Finance, including the datasets, papers, and current state-of-the-art results for the most popular tasks.
rust-numpy - PyO3-based Rust bindings of the NumPy C-API