Fast and Scalable Data Structures for Scientific and Quantitative Research.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs fix setup Jan 3, 2019
rbp_setup_tools Merge pull request #11 from IntuitionEngineeringTeam/beta Aug 15, 2018
redblackpy package dir structure, Aug 22, 2018
LICENSE package structure Aug 22, 2018 Update Sep 3, 2018
setup.cfg setup config Aug 9, 2018 fix setup Jan 3, 2019


Fast and scalable data structures for scientific and quantitative research in Python

Now available for Python 2.7 and 3.0+ on MacOSX(>=10.7) and Linux (Windows in near future).

Read a little review article with code examples at TowardsDataScience.

RedBlackPy is a light Python library that provides data structures aimed at fast insertion, removal and self sorting to manipulate ordered data in efficient way. The core part of the library had been written on C++ and then was wrapped in Cython. Hope that many would find the primary data structures of this library very handy in working with time series. One of the main feature of this structures is an access by arbitrary key using interpolation, what makes processing of multiple non synchronized time series very simple. All data structures based on red black trees.


Now RedBlackPy requires Cython installation. If you have not Cython, run in your command line:
>> pip install cython
1. Build and install from source
Download project source and run in your command line
>> python install
2. Via pip
Run in your command line
>> pip install redblackpy

Package content

The first release is presented by two classes: Series and SeriesIterator. See Documentation and User Guide for usage.

Cython Users

We have include pxd files for Cython users. See source.

Contact us

Feel free to contact us about any questions. Website of our team IntuitionEngineering.

Core developer email:

Intuition dev email: