redash query download client
Project description
redash_query_download(rqd)
This package provides a unified command line interface to download results in Redash.
Requirements
Python 3.x
Installation
$ pip install redash_query_download
And set up your ~/.rqdrc
.
[redash]
endpoint=https://HOSTNAME
apikey=APIKEY
data_source_id=DATA_SOURCE_ID
encoding=UTF-8
Commands
Usage: rqd [OPTIONS]
Options:
-q, --query_id INTEGER [required]
-p, --parameters <TEXT TEXT>...
-o, --output TEXT [required]
-c, --config TEXT
--help Show this message and exit.
Examples
# query without query parameters
$ rqd --query_id 1 -o test.csv
# query without query parameters
$ rqd --query_id 1 --parameters start_date 2000-01-01 --parameters end_date 2009-12-31 -o test.csv
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for redash_query_download-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 699b5453362e2fe3a53be40a775d0e811677660dbf9fb0cd4e76736dbd06847e |
|
MD5 | cd6d51da9bf2fe629cff7326583214ba |
|
BLAKE2b-256 | f9164f164d9ffad383f3d293e2883b06dd220e01ac8dad9e808bc04253150856 |