from kxi import sp

https://learninghub.kx.com/forums/topic/from-kxi-import-sp

This is not working

pip install --extra-index-url=https://$KX_PYPI_USER:$KX_PYPI_PASS@nexus.dl.kx.com/repository/kxi/simple/ kxi.sp

 

What should it be replaced with so that I can run “from kxi import sp”?

https://code.kx.com/insights/1.5/enterprise/walkthrough/query.html#scratchpad

That pip install command can be found on https://code.kx.com/insights/1.5/api/stream-processor/python/index.html#installation

 

Apologies for the confusion in the documentation this is being rectified. The API for kxi.sp works within the kdb Insights Microservices and kdb Insights Enterprise as part of pipeline deployments in both cases and within the kdb Insights Enterprise Scratchpad for iterative development. Once the documentation is updated and available well update you here with further details on its usage.

Thank you for the response. My current focus is iterative development. I copy/pasted "kdb Insights Enterprise Scratchpad" in the search box of https://code.kx.com/home/. The first hit is https://code.kx.com/insights/1.5/enterprise/walkthrough/explore.html which is a dead link. Would you provide the link to the "Scratchpad"?