Amazon Redshift Dialect for sqlalchemy
Project description
Amazon Redshift dialect for SQLAlchemy.
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 docstring for RedshiftDDLCompiler in dialect.py for more detail.
0.2.0 (2015-09-04)
Default to SSL with hardcoded AWS Redshift CA. (Issue #20)
Refactor of CopyCommand including support for specifying format and compression type. (Issue #21)
Explicitly require SQLAlchemy >= 0.9.2 for ‘dialect_options’. (Issue #13)
Refactor of UnloadFromSelect including support for specifying all documented redshift options. (Issue #27)
Fix unicode issue with SORTKEY on python 2. (Issue #34)
Add support for Redshift DELETE statements that refer other tables in the WHERE clause. (Issue #35). Thanks haleemur <https://github.com/haleemur> _.
Raise NoSuchTableError when trying to reflect a table that doesn’t exist. (Issue #38).
0.1.2 (2015-08-11)
0.1.1 (2015-05-20)
Register RedshiftImpl as an alembic 3rd party dialect.
0.1.0 (2015-05-11)
First version of sqlalchemy-redshift that can be installed from PyPI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sqlalchemy-redshift-0.2.0.tar.gz.
File metadata
- Download URL: sqlalchemy-redshift-0.2.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f06530faf772b51b1ddb1331e3d9d57895bc364c63fe72105e93fc53f7d9cc0
|
|
| MD5 |
8ceddec5de1c3d1de1ed40bf372b5734
|
|
| BLAKE2b-256 |
5dd8e6571c2ac0f73c77d277ac87a049fa60d58a4d02cf54ff0fc6974b6fa08f
|
File details
Details for the file sqlalchemy_redshift-0.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: sqlalchemy_redshift-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce6092a29390d6089370e0c5479f446461c9b92e4ecaffd43680944bcf111390
|
|
| MD5 |
f2b170a0b58dd9f807caf31e126718cd
|
|
| BLAKE2b-256 |
29d7233ad7a29a700b5576e512cd97cb7b47ce74e848388a2399cf70c8efb3d2
|