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
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 Distribution
Built Distribution
Close
Hashes for redash_query_download-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4ebd57b0e6dd0bc9d57f3c14501a99978cc6d6a371fe7c0cc72f05d54b297e8 |
|
MD5 | d6b0e458bd5b783d4d8c5100a11071e2 |
|
BLAKE2b-256 | 3b8112f0f288be7782c083093f6b1c21de228d3c9235bebcd889b504206f2988 |
Close
Hashes for redash_query_download-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6392883250ff7ba33646e02d70305e02d1574feb897cafd98c945931599acf52 |
|
MD5 | 82a167ceca4b9f9ab42d1e8a6ca4d20c |
|
BLAKE2b-256 | 728755c4722839d93e600b68eb6f11f4f62f9ae2fdba5e56420f3805bcbe1ef3 |