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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c16de5e98226454bcacfd6006c2a5067bfb49406f92c8994fd99ae9067b11185 |
|
MD5 | 26322b0b75b1089ee60a2e48890df43c |
|
BLAKE2b-256 | f5da3f0aa83de70e08197de3d026a51f6275d14c84139b577fa3638c3966af2f |
Close
Hashes for vertica_connector_talenttech-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd84815b3169c34eeaf95a02d9b551f7bc748ebaa2deeaebe15399380c68228b |
|
MD5 | d1b2ce67fa14f6cd1bd55269e2cf78eb |
|
BLAKE2b-256 | c30b5fb88b0f4f7d83e0fac7ede17d7c3a295c739a7a2d45b10a13dc1da8dce9 |