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
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43602311d763a6f9605b1f94611a97d952777a74c09420c40d3835d94965a926 |
|
MD5 | 427222d1d68b8e8bbf2c54b4c608b559 |
|
BLAKE2b-256 | d023588fb46ecfcd741699ea9ae10d6e8cb192e00cf9bb95ada1e3506835acde |
Close
Hashes for vertica_connector_talenttech-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f69dbbca9d50131dd5e07ee20d5089310ce5b718f2b6e1ae26bcaf585689bfb |
|
MD5 | ee2591fb8b3f913f5aabb9eebc6c0abd |
|
BLAKE2b-256 | 974b391f1c8ecb4bb1fb075fc459861c73ba3c5ad5b19046bc4745701bb3b271 |