• Stars
    star
    190
  • Rank 203,739 (Top 5 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created almost 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PyQ β€” Python for kdb+

PyQ - Python for kdb+

PyPI Version Build Windows build status

Total alerts Language grade: Python Language grade: C/C++ Codecov

PyQ brings the Python programming language to the kdb+ database. Part of the Fusion for kdb+ interface collection.

It allows developers to integrate Python and q codes seamlessly in one application. This is achieved by bringing the Python and q interpreters into the same process so that code written in either of the languages operates on the same data. In PyQ, Python and q objects live in the same memory space and share the same data.

Please report issues in this repository.

Installation

pip install pyq

See detailed installation instructions.

Usage

For Python programmers:

$ pyq
>>> from pyq import q
>>> 1 + q.til(10)
k('1 2 3 4 5 6 7 8 9 10')

or run your Python script as

pyq [python options] python-script

For q programmers:

$ q
q)p)from math import hypot  / prefix python code with p)
q)p)q.h = hypot             / import a python function
q)h 3 4                     / call the python function from q
5f

Documentation

Documentation is available on the PyQ homepage.

Testing

Use tox to run tests.

cd path/to/pyq/source
tox

More Repositories

1

kdb

Companion files to kdb+ and q
HTML
417
star
2

jupyterq

Jupyter kernel for kdb+
Jupyter Notebook
105
star
3

kdbai-samples

Developer samples for the KDB.AI vector database
Jupyter Notebook
96
star
4

kdb-tick

Latest source files for kdb+tick
q
91
star
5

embedPy

Allows the kdb+ interpreter to call Python functions
Python
89
star
6

cookbook

Companion files to the kdb+ Knowledge Base
C
80
star
7

docs

Source for documentation site
HTML
75
star
8

ml

Machine-learning toolkit
q
61
star
9

mlnotebooks

Demonstration notebooks for Machine Learning
Jupyter Notebook
59
star
10

javakdb

Using Java with kdb+
Java
54
star
11

kafka

kdb+ to Apache Kafka adapter, for pub/sub
C
48
star
12

pykx

PyKX is a Python first interface to the worlds fastest time-series database kdb+ and it's underlying vector programming language q.
Python
48
star
13

rkdb

R client for kdb+
C
41
star
14

docs-v1

Source of code.kx.com/q
Shell
34
star
15

ffi

FFI for kdb+
C
30
star
16

automl

Automated Machine Learning Framework for kdb+
q
26
star
17

arrowkdb

kdb+ integration with Apache Arrow and Parquet
C++
26
star
18

analyst-training

Training for Kx Analyst
q
25
star
19

nlp

Natural-language processing library
q
18
star
20

prometheus-kdb-exporter

Kdb+ exporter for Prometheus
q
17
star
21

nano

Calculates basic raw I/O capability of non-volatile storage, as measured from the perspective of kdb+
q
14
star
22

kdb-taq

Latest source files for the kdb+taq package
q
13
star
23

protobufkdb

Kdb+ integration with Google Protocol Buffers
C++
13
star
24

hdf5

A library for converting between kdb+ and HDF5 data
C
13
star
25

csharpkdb

Using C# with KDB+
C#
11
star
26

kx-vscode

Kx Visual Code Extension Repository
TypeScript
11
star
27

solace

Solace middleware client for kdb+. Allows pub/sub from kdb+.
C++
11
star
28

embedR

Embedding R inside q
C
10
star
29

mqtt

MQTT messaging protocol interface
C
9
star
30

kxsystems.github.io

Index of kdb+ and q repositories on GitHub
HTML
9
star
31

man

Unix-like man function for the q programming language
q
8
star
32

ldap

Kdb+ integration with LDAP
C
5
star
33

kxkdb

Kdb+ interface for the Rust programming language
Rust
4
star
34

kdb-architecture-course

q
4
star
35

jdbc

JDBC client for kdb+
Java
3
star
36

wiki

Archive of the Kx wiki
2
star
37

kxblog.contributions

Code shared on the kx.com blog
1
star
38

avrokdb

kdb+ integration with Apache Avro
C++
1
star
39

insights-assemblies

Predefined deployment assemblies for KX Insights
1
star