Amazon Redshift dialect for SQLAlchemy.
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.