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.

Source Distribution

redash_query_download-0.0.9.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

redash_query_download-0.0.9-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page