Skip to content

jonathonmcmurray/qutil_packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qutil packages

A set of utility packages for kdb+/q, designed for use with qutil

To set up, clone or download repo, and then copy/link each subdirectory into your qutil package dir, typically pointed to by QPATH env var.

serve

Anaconda-Server Badge Anaconda-Server Badge

Simple HTTP server, allows for serving up static content, with a mechanism to tell clients to refresh page via WebSockets. Used in, for example, jonathonmcmurray/qchart

Depends on: port, log

port

Anaconda-Server Badge Anaconda-Server Badge

Check if kdb+ is listening on a port, and if not, randomly assign an available one.

Depends on: log

log

Anaconda-Server Badge Anaconda-Server Badge

Very simple logging functionality, timestamping log messages & colour coding log level (warn, alert etc.). Colours only where supported (e.g. Linux, Windows with cmder).

Depends on: os

console

Anaconda-Server Badge Anaconda-Server Badge

Resizes console to fill terminal by default (removing reliance on COLUMNS & LINES env vars). Also provides functions to resize at run time.

Depends on: log, os

os

Anaconda-Server Badge Anaconda-Server Badge

OS related utilities, so far this includes testing if a command works on current OS (e.g. to check if tty works for log package)

Depends on: none.

json

Anaconda-Server Badge Anaconda-Server Badge

Provides JSON functions for kdb+ <= v3.1, using json.k from kx

Depends on: none.

timer

Timer functionality to extend the basic capabilities of .z.ts

Depends on: log,os

expect

Functionality to check a set of expectation based on current time, alerting when conditions are not met within set time

Depends on: timer,log,os