Giter VIP home page Giter VIP logo

q's Introduction

Build Status Coverage Status

ABOUT

The q package is a q connection library implemented in Python.

Current Status

The api to q is done though currently the compression that kdb uses is not working. So it really only works locally. Currently working on:

  • building compression algo
  • bug fixing and testing
  • started a python-esque to q transpiler
  • integrate traspiler into a pandas data frame, ipython engine, ipython magics, own stand alone language that sits as an extra layer between q/kdb and humans

LICENSE

This code is licensed under an MIT license. See LICENSE for the full text.

MISC

This project was originally a fork of Dan Nugets q library (http://github.com/nugend/q) which was a rewrite of Matt Warren's qPy (http://bitbucket.org/halotis/qpy) library. The current incarnation of this code has nothing in common with either project but the original authors still deserve credit. The main changes are to make the q connection wrapper more compliant with DB-API 2.0 and to try and hide some of the scary k/q stuff. There is also a much more pythonic and performant serializer/deserializer.

Thoughts

I have build a select statement. How can I convert chains of commands together to produce a full ?[t;a;b;c] select statement? Is AST flexible enough or would I have to run a second pass? I could convert df.groupby('a').last() into df.select({'b':'a', 'c':'last "all columns"'}) and then run AST on the df.select?

Also need to consider all the many complex types of group bys (by time, etc) and ordering. And many other bits/keywords of k/q! Also how can I use useful python things like try/catch in q? Troubesome things like the difference between symbols and strings. and namespaces!

CONTACT

Ryan Murray [email protected]

q's People

Contributors

nugend avatar rymurr avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.