Skip to main content

TopMind Vertica Connector Wrapper

Project description

Customized vertica connector

The Python Wrapper to vertica_python lib for reconnectiong across server nodes


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']


from vconnector.vertica_connector import VerticaConnector
with VerticaConnector(connection_info) as cnx:
      cur = cnx.cursor()
      sql = "SELECT 1"

Project details

Download files

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

Source Distribution

vertica-connector-talenttech-0.0.1.tar.gz (2.5 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page