Skip to content

isabella232/sqlalchemy-redshift

 
 

Repository files navigation

sqlalchemy-redshift

Amazon Redshift dialect for SQLAlchemy.

Travis CI build status

Installation

The package is available on PyPI:

pip install sqlalchemy-redshift

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 RedshiftDDLCompiler documentation for details on Redshift-specific features the dialect supports.

Packages

 
 
 

Languages

  • Python 100.0%