solackerman / sqlalchemy-redshift

Amazon Redshift SQLAlchemy Dialect

Home Page:https://sqlalchemy-redshift.readthedocs.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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://username@host.amazonaws.com:5439/database')
Engine(redshift+psycopg2://username@host.amazonaws.com:5439/database)

See the RedshiftDDLCompiler documentation for details on Redshift-specific features the dialect supports.

About

Amazon Redshift SQLAlchemy Dialect

https://sqlalchemy-redshift.readthedocs.org/en/latest/

License:MIT License


Languages

Language:Python 100.0%