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.
Official KX Modules
Below is a list of official KX modules shipped with KDB-X.
| 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 |
| Object Storage | Enables scalable queries through seamless cloud object storage access. | KX | 1.0.0 |
| 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.0 |
| Rest Server | Exposes KDB-X functionality over a RESTful API. | KX | 1.0.0 |
Open Source Modules
Below is a list of open source modules shipped with KDB-X.
| Name | Description | Owner | Latest Version |
|---|---|---|---|
| BLAS | Basic Linear Algebra Subprograms, low-level routines for performing common linear algebra operations. | OS | 1.0.0 |
| Regex - PCRE2 | Used to match, search, and manipulate text patterns using rule-based expressions. | OS | 1.0.0 |
| Logging | Provides logging capabilities for KDB-X applications. | OS | 1.0.0 |
| Printf | Replicates a subset of the C99 printf standard to format strings. | OS | 1.0.0 |