Send Feedback
Skip to content

Modules Overview

This page explains what modules are, why they matter, and introduces the available modules.

What are modules

Modules are a unit of encapsulation in KDB-X. They have access to their own local namespace that can contain internal and external functions and variables for the module, as opposed to designating a fixed global namespace as it is often done for pre-module libraries.

The modules can expose variables and functions using the export variable, which can then be imported by code with the use function and assigned to an arbitrary name. Modules can be written in q or using the C API.

Use the module framework to build, import, and manage modules in KDB-X.

Module manifest

The table below lists some of the modules available for KDB-X, including closed-source KX modules, downloadable KX modules, and some open-source modules.

Info

The GPU module requires an additional purchase on top of KDB-X. All other KX modules are available for free in the KDB-X community edition.

Module name Description Owner Latest version
Parquet A columnar storage format optimized for efficient querying and analytics on large datasets. KX 1.0.0
AI Libraries AI module for summarizing information, assisting users, and solving complex problems across various industries. KX 1.0.0
GPU GPU acceleration for KDB-X. KX 1.0.0
cuVS CUDA-accelerated approximate vector search using Nvidia cuVS and the CAGRA algorithm. KX 1.0.0
Object Storage Enables scalable queries through seamless cloud object storage access. KX 1.1.2
SQL Enables SQL querying capabilities within KDB-X. KX 1.0.0
Kurl Provides a simple way to interact with KDB-X using REST APIs. KX 1.0.3
REST Server Exposes KDB-X functionality over a RESTful API. KX 1.0.2
Datagen Functions for generating synthetic data for various domains. OS 1.4.1
Taq High-performance utility for parsing NYSE TAQ (Trade and Quote) PSV files. OS 1.1.0
DBmaint Utility functions for maintaining splayed and partitioned KDB-X database tables. OS 1.0.0
BLAS Basic Linear Algebra Subprograms — low-level routines for common linear algebra operations. OS 1.0.0
Regex - PCRE2 Used to match, search, and manipulate text patterns using rule-based expressions. OS 1.1.0
Printf Replicates a subset of the C99 printf standard to format strings. OS 1.0.0
Logging Provides logging capabilities for KDB-X applications. OS 1.0.0
ax Collection of q libraries used for visualizations and documentation. OS 1.0.0
Fusionx Simplifies the use of native libraries within a q environment. OS 1.1.0