For the complete documentation index, see llms.txt. This page is also available as Markdown.

Python connector reference

Reference for the e6data Python connector - installation, connection parameters, and the cursor API.

The e6data Python connector runs SQL from Python applications and notebooks. For usage, see Python connector.

Install

pip install e6data-python-connector

Connection parameters

from e6data_python_connector import Connection

conn = Connection(
    host=host,
    port=port,
    username=username,
    database=database,
    password=password,
    cluster_uuid=cluster_uuid,
    secure=secure,
)
Parameter
Description

host

The workspace endpoint host

port

The connection port

username

Your e6data email

database

The schema (database) to query

cluster_uuid

The target cluster's UUID

secure

True to use TLS (default False)

Cursor API

Method
Purpose

conn.cursor(catalog_name=...)

Open a cursor scoped to a catalog

cursor.execute(query)

Run a statement; returns a query ID

cursor.fetchall()

Fetch all result rows

Find your exact connection values in the Console under Cluster → Connectivity.

See also

Last updated

Was this helpful?