Skip to main content

Vertica dialect for sqlalchemy

Project description

sqlalchemy-vertica Vertica dialect for sqlalchemy.

Forked from the sqlalchemy-vertica repository <https://github.com/startappdev/sqlalchemy-vertica>. Unfortunately, sqlalchemy-vertica was removed from pypi. As of Sept 28, 2018 this version supports querying views. This is version is not a state of the art, nor does it follow the principles outlinedb by SQLAlchemy at:https://github.com/zzzeek/sqlalchemy/blob/master/README.dialects.rst. However, I will slowly start upgrading the code base to meet standards and submit so that it becomes an external dialect in SQLAlchemy. Anyone interested in helping is welcome to contribute and/or submit issues/ideas.

import sqlalchemy as sa import urllib # for pyodbc connection sa.create_engine(‘vertica+pyodbc:///?odbc_connect=%s’ % (urllib.quote(‘DSN=dsn’),))

# for turbodbc connection sa.create_engine(‘vertica+turbodbc:///?DSN=dsn’)

# for vertica-python connection sa.create_engine(‘vertica+vertica_python://user:pwd@host:port/database’) Installation From PyPI:

pip install sqlalchemy-vertica[pyodbc,turbodbc,vertica-python] # choose the relevant engines From git:

git clone https://github.com/startappdev/sqlalchemy-vertica cd sqlalchemy-vertica pip install pyodbc turbodbc vertica-python # choose the relevant engines python setup.py install

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-dialect-0.1.1.tar.gz (12.0 kB view details)

Uploaded Source

File details

Details for the file sqlalchemy-vertica-dialect-0.1.1.tar.gz.

File metadata

File hashes

Hashes for sqlalchemy-vertica-dialect-0.1.1.tar.gz
Algorithm Hash digest
SHA256 56991087aabe21654c113ddb4485e78dbc5db52a29a0dbac5d0b96e28e7861e3
MD5 38dd68377de9b80816bcd24848b244c8
BLAKE2b-256 c0e2f1e9740e9769c933ef457aabb3c41b09d7384a2bb6d825a8ec863d5fbde3

See more details on using hashes here.

Supported by

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