I am using Python 2.7 and I have installed PyQ, with q (x64 version) set up correctly, under Debian 10.
The question is how to connect to a KDB server (I have the credentials (IP, port, user and password))?
I am using Python 2.7 and I have installed PyQ, with q (x64 version) set up correctly, under Debian 10.
The question is how to connect to a KDB server (I have the credentials (IP, port, user and password))?
Copyright © 2021 Jogjafile Inc.
Start a pyq session, switch to the q interpreter then use hopen
Edit - Further example from within Python and Creating A Pandas.DataFrame:
Using qPython:
See qSQL for how to select specific data from your tables. Tables in kdb can be very large and may be unwise to select the entire thing. e.q.
Are you planning on doing any data processing client side in q? If only looking to get data from the kdb server for use with python, qPython may be a better option.