pykx

Integrate Python workflows with kdb+ via a Python-first interface.

12|11|Updated May 20, 2026
One-click install
npx skills add https://github.com/KxSystems/kx-skills --skill pykx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pykx
Source: https://github.com/KxSystems/kx-skills/tree/main/plugins/pykx-knowledge/skills/pykx
Command: npx skills add https://github.com/KxSystems/kx-skills --skill pykx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PyKX provides a Python-first interface to kdb+ and q, enabling seamless data conversion, IPC access, and hybrid Python-kdb+ workflows for analytics and development.

Core Features & Use Cases

  • PyKX enables Python-to-q data conversion and in-memory table interactions using the Column API.
  • It supports IPC connections, q code execution, and on-disk DB management workflows from Python.
  • Use cases include integrating Python data pipelines with kdb+ analytics, type mapping across Python and q, and debugging licensed vs unlicensed mode questions.

Quick Start

Instantiate PyKX, convert Python data structures to q tables, and perform a simple IPC query to verify integration.

Frequently Asked Questions about pykx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Python data structures to q tables for kdb+ analytics?

You can convert Python data structures to q tables using a Python-first interface that supports data type conversions and a Column API for in-memory table interactions. This enables hybrid Python-kdb+ analytics workflows.

What is the best way to query kdb+ from within a Python data pipeline?

Querying kdb+ from Python is handled through IPC connections and q code execution. This interface allows you to manage on-disk DB workflows and retrieve data directly into Python for pipeline integration.

Do I need a license to run kdb+ workflows in Python?

You do not always need a license, as the interface supports both licensed and unlicensed modes. Unlicensed mode provides limited functionality, while a license unlocks full features for debugging and executing complex kdb+ operations.

How does Python to q data type conversion work for kdb+ objects?

Python to q data type conversion works by mapping Python objects to kdb+ structures through a Pythonic API. This allows seamless creation, querying, and management of kdb+ objects without writing raw q code.

Can I manage on-disk kdb+ databases using Python?

Yes, you can manage on-disk kdb+ databases using Python. The interface supports on-disk DB management workflows, allowing you to handle data persistence and retrieval directly from your Python environment.