Skip to content

bouk/redshift_sqlalchemy

 
 

Repository files navigation

redshift_sqlalchemy

Amazon Redshift dialect for SQLAlchemy.

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

Usage

The DSN format is similar to that of regular Postgres:

>>> import sqlalchemy as sa
>>> sa.create_engine('redshift+psycopg2:https://[email protected]:5439/database')
Engine(redshift+psycopg2:https://[email protected]:5439/database)

See the docstring for RedshiftDDLCompiler in dialect.py for more detail.

About

Amazon Redshift SQLAlchemy Dialect

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%