Skip to content

Brooke-white/sqlalchemy-redshift

 
 

Repository files navigation

redshift_sqlalchemy

Amazon Redshift dialect for SQLAlchemy.

https://travis-ci.org/graingert/redshift_sqlalchemy.png?branch=master

Requirements

  • psycopg2 >= 2.5
  • SQLAlchemy 0.8

Usage

The DSN format is similar to that of regular Postgres:

from sqlalchemy import create_engine

engine = create_engine("redshift+psycopg2://[email protected]:5439/database")

Notes

Currently, constraints and indexes return nothing when introspecting tables. This is because Redshift implements version 8.0 of the PostgreSQL API.

About

Amazon Redshift SQLAlchemy Dialect

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%