Amazon Redshift SQLAlchemy Dialect
Python Shell
Clone or download
jklukas Fix various bugs in tests (#140)
Our tests have drifted out of sync with changes in Redshift and SQLAlchemy.

Fixes #131
Latest commit 3cd61fd Jan 17, 2018



Amazon Redshift dialect for SQLAlchemy.

Travis CI build status


The package is available on PyPI:

pip install sqlalchemy-redshift


The DSN format is similar to that of regular Postgres:

>>> import sqlalchemy as sa
>>> sa.create_engine('redshift+psycopg2://')

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


To perform a release, you will need to be an admin for the project on GitHub and on PyPI. Contact the maintainers if you need that access.

You will need to have a ~/.pypirc with your PyPI credentials and also the following settings:

create-wheels = yes

To perform a release, run the following:

python3.6 -m venv ~/.virtualenvs/dist
workon dist
pip install -U pip setuptools wheel
pip install -U tox zest.releaser
fullrelease  # follow prompts, use semver ish with versions.

The releaser will handle updating version data on the package and in CHANGES.rst along with tagging the repo and uploading to PyPI.