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.

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.

Files for redash-query-download, version 0.0.9
Filename, size File type Python version Upload date Hashes
Filename, size redash_query_download-0.0.9-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size redash_query_download-0.0.9.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page