Skip to main content

Vertica dialect for sqlalchemy. Forked from the Vertica ODBC dialect, written by James Casbon.

This module implements a Vertica dialect for SQLAlchemy using the pure-Python DB-API driver vertica-python, as adapted by Luke Emery-Fertitta.

It is currently maintained by BlueLabs - PRs are welcome!

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/bluelabsio/vertica-sqlalchemy-python
cd vertica-sqlalchemy-python
python setup.py install

Usage

ID/Primary Key Declaration

Do not use this. The INSERT will fail as it will try to insert the ID

id = Column(Integer, primary_key=True)

Do the following instead

id = Column(Integer, Sequence(‘user_id_seq’), primary_key=True)

Release files for sqlalchemy-vertica-python 0.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlalchemy-vertica-python 0.6.3
File Size Uploaded
sqlalchemy-vertica-python-0.6.3.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sqlalchemy-vertica-python 0.6.3
File Interpreter ABI Platform
sqlalchemy_vertica_python-0.6.3-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / sqlalchemy-vertica-python-0.6.3.tar.gz

Download URL sqlalchemy-vertica-python-0.6.3.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5cbebb9875e59366b9e3b4791ef7c2a8e45dbe460fd27687f3dc742dc058a024
BLAKE2b-256 checksum
How to use checksums
e0fce52cac0df3d55a2b4d0b07d449ddf9600adcc35c5715b289e17114ad86c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Release files / sqlalchemy_vertica_python-0.6.3-py3-none-any.whl

Download URL sqlalchemy_vertica_python-0.6.3-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f41c8d51f81bb00d9064cfe8facfda698667c105200f5d570d574696bcca4c9
BLAKE2b-256 checksum
How to use checksums
1b7fbc56d6d5dd40ead585529289505547f83322e1ba2cd4990bde534d2445c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page