Skip to main content

Tools for querying redshift

Project description

Amazon Connect Tools

These tools are intended to be used to connect and query one redshift instance and one database.

Requirements:

This package is dependant upon keyring for keeping credentials secure for connecting to your desired Redshift instance.

Instructions:

  1. Installation:
pip install redshiftquery
  1. Setup:

Next you will need to setup the keyring Login information unique to your redshift database.

You will need to store a 'Host', 'Database', 'Username', and 'Password' by running the following in python once:

import keyring
keyring.set_password('Redshift', 'Host', 'Your Host Server')
keyring.set_password('Redshift', 'Database', 'Your Database')
keyring.set_password('Redshift', 'Username', 'Your Username')
keyring.set_password('Redshift', 'Password', 'Your Password')

note that the strings used here are case sensitive

Copy this exactly but replace Your Host Server, Your Databas, Your Username, and Your Password with your actual login credentials. This will be stored in your OS.

You can check that it was set up properly by executing keyring's get_password function, for example to check your Username was set up correctly:

keyring.get_password('RedShift', 'Username')

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

redshiftquery-0.0.2.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

redshiftquery-0.0.2-py3-none-any.whl (6.5 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