8000 GitHub - sqlalchemy-redshift/sqlalchemy-redshift at introspection-support
[go: up one dir, main page]

Skip to content

sqlalchemy-redshift/sqlalchemy-redshift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
< 8000 /div>
 
 
 
 
 
 

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:

>>> import sqlalchemy as sa
>>> sa.create_engine('redshift+psycopg2://username@host.amazonaws.com:5439/database')
Engine(redshift+psycopg2://username@host.amazonaws.com: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

Contributors 51

0