Q utilities by Dan Nugent, including package loading with version support
qutil (written by Dan Nugent) provides several different common utility functionalities for use with Q programs. These currently include:
This package forms the basis of q packaging via Anaconda, depended upon for numerous other packages made available.
Typically, usage involves installed qutil
and all other packages via conda install
, and then loading the packages within q via the .utl.require
function provided by this package (and made available in all q sessions). For example, with the req
HTTP requests package:
q).utl.require"req"
q).req.g"https://httpbin.org/get"
args | (`symbol$())!()
headers| `Accept`Connection`Host`User-Agent!("*/*";"close";"httpbin.org";"kdb..
origin | "86.145.98.64"
url | "https://httpbin.org/get"