Skip to content

KDB-X Python

Documentation for installing KDB-X Python and using q data types, queries, Python conversions, and IPC.

KDB-X Python is the official Python interface to KDB-X. Python code can create and query q objects, call q functions in the embedded runtime, and connect to separate q processes over IPC.

Migration from PyKX

KDB-X Python (pykx>=4.0) is the evolution of PyKX (pykx<4.0). If you are upgrading, read the migration guide to understand what changed and how to update your code and configuration.

Start here

New users should complete the Get Started steps in order. Otherwise, choose the relevant topic area.

Stay informed and get help