Beta Features
This page provides an overview of KDB-X Python Beta Features, including what they are, how to enable them, and what features are available.
What is a Beta Feature?
As used commonly within software development "Beta Features" within KDB-X Python describe features which have completed an initial development process phase and are being released in an opt-in manner to users of KDB-X Python wishing to test these features. These features are not intended to be for production use while in beta and are subject to change prior to release as full features. Usage of these features will not effect the default behavior of the library outside of the scope of the new functionality being added.
Feedback on Beta Feature development is incredibly helpful and helps to determine when these features are promoted to fully supported production features. If you run into any issues while making use of these features please raise an issue on the KDB-X Python Github here.
How do I enable Beta Features?
Enable KDB-X Python beta features using the PYKX_BETA_FEATURES configuration/environment variable. Set this before importing KDB-X Python (pykx) in a Python session, as shown below, to view available beta features through kx.beta_features:
>>> import os
>>> os.environ['PYKX_BETA_FEATURES'] = 'True'
>>> import pykx as kx
>>> kx.beta_features
['PyTorch Conversions']
Alternatively you can set beta features to be available at all times by adding PYKX_BETA_FEATURES to your config-pykx file as outlined here. An example of a configuration making use of this is as follows:
[default]
PYKX_KEEP_LOCAL_TIMES='true'
[beta]
PYKX_BETA_FEATURES='true'
What Beta Features are available?
As mentioned above, the beta_features property contains the list of available features. You can retrieve this information in a Python session as follows:
>>> import pykx as kx
>>> kx.beta_features
['PyTorch Conversions']
PyTorch Conversions: Allow users to convert numeric typepykxvectors and N-Dimensional lists to PyTorch Tensor objects.