sqlalchemy-vertica-0.0.5
توضیحات
Vertica dialect for sqlalchemy
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | sqlalchemy-vertica-0.0.5 |
| نام | sqlalchemy-vertica |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Luis Villamarin |
| ایمیل نویسنده | luis@lv10.me |
| آدرس صفحه اصلی | https://github.com/lv10/sqlalchemy-vertica |
| آدرس اینترنتی | https://pypi.org/project/sqlalchemy-vertica/ |
| مجوز | MIT |
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.
.. code-block:: python
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
نیازمندی
| مقدار | نام |
|---|---|
| >=1.10.0 | six |
| >=1.1.11 | sqlalchemy |
| >=4.0.16 | pyodbc |
| >=0.7.3 | vertica-python |
نحوه نصب
نصب پکیج whl sqlalchemy-vertica-0.0.5:
pip install sqlalchemy-vertica-0.0.5.whl
نصب پکیج tar.gz sqlalchemy-vertica-0.0.5:
pip install sqlalchemy-vertica-0.0.5.tar.gz