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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redash_query_download-0.0.9.tar.gz.
File metadata
- Download URL: redash_query_download-0.0.9.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4ebd57b0e6dd0bc9d57f3c14501a99978cc6d6a371fe7c0cc72f05d54b297e8
|
|
| MD5 |
d6b0e458bd5b783d4d8c5100a11071e2
|
|
| BLAKE2b-256 |
3b8112f0f288be7782c083093f6b1c21de228d3c9235bebcd889b504206f2988
|
File details
Details for the file redash_query_download-0.0.9-py3-none-any.whl.
File metadata
- Download URL: redash_query_download-0.0.9-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6392883250ff7ba33646e02d70305e02d1574feb897cafd98c945931599acf52
|
|
| MD5 |
82a167ceca4b9f9ab42d1e8a6ca4d20c
|
|
| BLAKE2b-256 |
728755c4722839d93e600b68eb6f11f4f62f9ae2fdba5e56420f3805bcbe1ef3
|