Skip to content
Machine learning

Python embedPy

Allows the kdb+ interpreter to manipulate Python objects and call Python functions.

Requirements

  • kdb+ ≥3.5 64-bit
  • Anaconda Python 3.x

Build and install

Download the code from KxSystems/embedPy and follow installation instructions there.

Back-incompatible changes

V0.2-beta -> V1.0

  • Attribute access from embedPy object

    
    / old
    q)obj`ATTRNAME
    / new
    q)obj`:ATTRNAME
    

  • embedPy objects can be called directly without explicitly specifying the call return type, the default return type is an embedPy object

V0.1-beta -> V0.2beta in V0.2-beta

V0.2-beta features a number of changes back-incompatible with the previous release, V0.1-beta.

Most notably, the default type used in many operations is now the embedPy type, rather than the foreign type. Differences between these types (and the associated APIs) are set out below.