Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

gametimesf/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.