Kola kdb+ Python API
Kola the Fastest kdb+ Python Interface
by Jo Shinonome. Source and issues on kola github.
Why kola?
- Open source and free for latest Linux, macOS and Windows
- the most efficient/fastest way to
- query data from kdb+
- non-kdb data to kdb+
- extremely fast dataframe operations powered by polars
- very likely support Python 3.13 in Oct 2024, right after Python 3.13 is released
- can be extended to support R (Already works, never make a proper release)
- core parts (uncompression and deserialization) are in Rust (84% code)
- c level performance
- better memory management, 30%-50% less memory when querying data from kdb
- https://github.com/jshinonome/kola/blob/main/py-kola/benchmark.md
- better deserialization performance using parallel computing
- support Python 3.12 without changing code
- a much bigger polars community to support dataframe interface
- most machine learning packages are going to support polars directly
- better performance for converting data to numpy/pandas
- no need to know kdb+/q knowledge for Python developers