Skip to main content

redash query download client

Project description

redash_query_download(rqd)

This package provides a unified command line interface to download results in Redash.

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
redash_query_download-0.0.4-py3-none-any.whl (4.1 kB) Copy SHA256 hash SHA256 Wheel py3
redash_query_download-0.0.4.tar.gz (2.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page