Skip to content

haleemur/redshift_sqlalchemy

 
 

Repository files navigation

redshift_sqlalchemy

Amazon Redshift dialect for SQLAlchemy.

image

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)

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%