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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for redash_query_download-0.0.9.tar.gz
Algorithm Hash digest
SHA256 c4ebd57b0e6dd0bc9d57f3c14501a99978cc6d6a371fe7c0cc72f05d54b297e8
MD5 d6b0e458bd5b783d4d8c5100a11071e2
BLAKE2b-256 3b8112f0f288be7782c083093f6b1c21de228d3c9235bebcd889b504206f2988

See more details on using hashes here.

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

Hashes for redash_query_download-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6392883250ff7ba33646e02d70305e02d1574feb897cafd98c945931599acf52
MD5 82a167ceca4b9f9ab42d1e8a6ca4d20c
BLAKE2b-256 728755c4722839d93e600b68eb6f11f4f62f9ae2fdba5e56420f3805bcbe1ef3

See more details on using hashes here.

Supported by

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