Skip to main content

Vertica dialect for sqlalchemy using vertica_python

Project description

Vertica dialect for sqlalchemy. Forked from the Vertica ODBC dialect.

This module implements a Vertica dialect for SQLAlchemy using vertica-python. Engine creation:

import sqlalchemy as sa
sa.create_engine('vertica+vertica_python://user:pwd@host:port/database')

Installation

From PyPI:

pip install sqlalchemy-vertica-python

From git:

git clone https://github.com/LocusEnergy/vertica-sqlalchemy
cd vertica-sqlalchemy
python setup.py install

Known Issues

  • Error handling is subpar. In particular, sqlalchemy attempts to raise a dbapi.Error, which vertica_python does not have. This can likely be fixed in the future by overriding some of the Default Dialect methods.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlalchemy-vertica-python-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file sqlalchemy-vertica-python-0.1.0.tar.gz.

File metadata

File hashes

Hashes for sqlalchemy-vertica-python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c6b30eebf9c5f1baafe9a460a8eb390193e4b79f1cac02e4e62b0eef5808ca81
MD5 14ff3673484569535e574a71363ce51e
BLAKE2b-256 b4ba65b48e4b33a8e071699b4da51cbc01f4bec56eb57bb76e3607a300c82358

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page