Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

TopMind Vertica Connector Wrapper

Project description

Customized vertica connector

The Python Wrapper to vertica_python lib for reconnectiong across server nodes


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, 
                      vertica_configs=vertica_configs) as v_connector:
      cur = v_connector.cnx.cursor()
      sql = "SELECT 1"

VERTICA_CONFIGS variable structure

{"host": <VERTICA_HOST>,
 "port": <VERTICA_PORT>,
 "backup_server_node": [<SERVER_NODE_1>, <SERVER_NODE_2>, <SERVER_NODE_3>}

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vertica-connector-talenttech, version 1.1.3
Filename, size File type Python version Upload date Hashes
Filename, size vertica_connector_talenttech-1.1.3-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size vertica-connector-talenttech-1.1.3.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page