Kola the Fastest kdb+ Python Interface

Download Slides PDF

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)
  • 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