TopMind Vertica Connector Wrapper
Project description
Customized vertica connector
The Python Wrapper to vertica_python lib for reconnectiong across server nodes
Usage
pip3 install vertica-connector-talenttech
import os
import json
from vconnector.vertica_connector import VerticaConnector
user = "test_user",
password = "test_password"
database = "test_database"
vertica_configs = json.loads(os.getenv("VERTICA_CONFIGS"))
with VerticaConnector(user=user,
password=password,
database=database,
vertica_configs=vertica_configs) as cnx:
cur = cnx.cursor()
sql = "SELECT 1"
cur.execute(sql)
VERTICA_CONFIGS var structure
{"host": <VERTICA_HOST>,
"port": <VERTICA_PORT>,
"backup_server_node": [<SERVER_NODE_1>, <SERVER_NODE_2>, <SERVER_NODE_3>}
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-1.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fdc0585265699cfbfc07a531167df1ed470720cd3c197b6298358502be9f084 |
|
MD5 | 4cd163032a8c066145e86205438627c6 |
|
BLAKE2b-256 | 31f6b86d9b2709ddf9dfd38d0381fd8d2edeaecd121dbf4be40a4fd1eab4aed4 |
Close
Hashes for vertica_connector_talenttech-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5569dab703869d3e0120995485f5c6aac711991f3d90374891f3da425c7e4dd5 |
|
MD5 | 1c9235104e3d713d401acfc82729e5bc |
|
BLAKE2b-256 | d527ccb389b3d99123bcb58a276dbfe3773bd657cc52f575813d3c9b28c44304 |