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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ba03c821e3f064e37513996927aadd26f5b8e943a3999a9d5c5e457ee7fe911 |
|
MD5 | e9f4695d9aa564ed55306903063d7640 |
|
BLAKE2b-256 | f5ccc665fe8f70b871b5b9efdcbc6bf15b17e3e91c57e0291f274dcba3a472d6 |
Close
Hashes for vertica_connector_talenttech-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc0a65594774a99934948a77c1b878f5e1565c7e963088373c792b6ba0bbc213 |
|
MD5 | 35ee6f591aac27111f8f77979721fdb2 |
|
BLAKE2b-256 | 1c2b99d197ed3237b9cfd0413a82c12e7204f05e9e42e22e607a1f9097c51175 |