TopMind Vertica Connector Wrapper
Project description
Customized vertica connector
The Python Wrapper to vertica_python lib for reconnectiong across server nodes
Credentials
vertica_configs - json variable in ENV
connection_info = {"host": <VERTICA_HOST>,
"port": <VERTICA_PORT>,
"backup_server_node": [<SERVER_NODE_1>, <SERVER_NODE_2>, <SERVER_NODE_3>}
user = os.getenv("VERTICA_USER"),
password = os.getenv("VERTICA_PASSWORD")
database = "DWH"
vertica_configs = json.loads(os.getenv("VERTICA_CONFIGS"))
Usage
pip3 install vertica-connector-talenttech
import os
import json
from vconnector.vertica_connector import VerticaConnector
with VerticaConnector(user, password, vertica_configs) 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-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34aca52c18d5d996f8890f5d978ca448e87bf93ad136fd62523903b44bb0a9b5 |
|
MD5 | 1421175ea856d9e6bf430d3dc3b77f8e |
|
BLAKE2b-256 | 92c3ae0b35e50bc77263bb667da2c6d775da9a7f8514ff90f4df58a142175aef |
Close
Hashes for vertica_connector_talenttech-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8136bcf161db14bed81bedcfa82bf550fa9852c67b11fa1e0642ae2e25f98c3 |
|
MD5 | a24e80a4d40397eecfded5e5810c38c0 |
|
BLAKE2b-256 | 35a6d3500328e1f96c85597d52a06852613803a53d5f0a71a3f8898eb7727b7d |