Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

stratasan/redshift_sqlalchemy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redshift_sqlalchemy ==================

Amazon Redshift dialect for sqlalchemy.

image

Requirements

  • pysocpg2 >= 2.5
  • SQLAlchemy 0.8

Usage

DSN format is simpilar to that of regular postgres:

from sqlalchemy import create_engine

engine = create_engine("redshift+psycopg2://username@host.amazonaws.com:5439/database"

Notes

Currently, contraints and indexes return nothing when intropecting tables. This comes from the redshift implementation of the postgresql api == 8.0

About

Amazon Redshift SQLAlchemy Dialect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%