TopMind Vertica Connector Wrapper
Project description
Customized vertica connector
The Python Wrapper to vertica_python lib for reconnectiong across server nodes
Credentials
connection_info = {'host': os.getenv("VERTICA_HOST"),
'port': os.getenv("VERTICA_PORT"),
'user': os.getenv("VERTICA_USER"),
'password': os.getenv("VERTICA_PASSWORD"),
'database': os.getenv("VERTICA_DATABASE"),
'connection_load_balance': True,
'backup_server_node': ['vertica-db-1', 'vertica-db-2', 'vertica-db-3']
}
Usage
pip3 install vertica-connector-talenttech
from vconnector.vertica_connector import VerticaConnector
with VerticaConnector(connection_info) as cnx:
cur = cnx.cursor()
sql = "SELECT 1"
cur.execute(sql)
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
Built Distribution
Close
Hashes for vertica-connector-talenttech-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8446dc15257d3e7f2df4144e30f928806d6486da35bc44c6f73d2fe261d260e5 |
|
MD5 | d038625866fe9b8b7dc640beb9d4eb7b |
|
BLAKE2b-256 | 97e8ee60b66b8027a4f16b859da50fd597e8eeff0e8545c5f78bc533a038d89c |
Close
Hashes for vertica_connector_talenttech-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0219ff626331ee90c460a1f95ea0c81ef8af490eb0f20c3d0e4b1eb4e072d3f |
|
MD5 | 3be7aace2529cfeb4bb68a909ddc7d40 |
|
BLAKE2b-256 | dea3deeb04fe0cb013aedee0fad36cf927175832877854942aede935f9bb9373 |