Utility methods
dql.util.
dt_to_ts
If value is a datetime, convert to timestamp
eval_expression
Evaluate a full time expression
eval_function
Evaluate a timestamp function
eval_interval
Evaluate an interval expression
getmaxyx
Get the terminal height and width
plural
Helper function for pluralizing text
resolve
Convert a pyparsing value to the python type
unwrap
Unwrap a quoted string