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
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
File details
Details for the file sqlalchemy-vertica-dialect-0.1.2.tar.gz
.
File metadata
- Download URL: sqlalchemy-vertica-dialect-0.1.2.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 958b24b895b4e161c0021ddc8222eeff6ff440adb054a9164c1fdee2418fc1f3 |
|
MD5 | 9e7bb84096f13e61847cbeff08ceeb5c |
|
BLAKE2b-256 | 72ee99a7b0d23c97888692b3bbc6ce4dc4a8f2148516f82d2846300cbe0e47b1 |