Registry /
database / clickzetta-connector-python
Install & Compatibility
Where this runs
tested against v0.8.109 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 2.562s · 372.4MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 12.2s · import 2.424s · 338MB
364MB installed
● package 364MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
clickzetta
✓ import clickzetta
✗ from clickzetta_connector import clickzetta
Direct import of clickzetta package is correct; don't use underscore variant.
connect
✓ from clickzetta import connect
✗ from clickzetta_connector import connect
connect function is in the top-level clickzetta module.
Establishes a WebSocket connection to ClickZetta, executes a query, and prints the result.
import clickzetta
conn = clickzetta.connect(
url=os.environ.get('CLICKZETTA_URL', 'ws://localhost:8080/ws'),
user=os.environ.get('CLICKZETTA_USER', 'default'),
password=os.environ.get('CLICKZETTA_PASSWORD', ''),
database='default'
)
cursor = conn.cursor()
cursor.execute('SELECT version()')
print(cursor.fetchone())
cursor.close()
conn.close()
Errors
Common errors & fixes
clickzetta.exceptions.ClickZettaError: 401 Unauthorized
Invalid username or password provided in connect().
fixDouble-check credentials; ensure user exists and password is correct. Use environment variables.
websockets.exceptions.InvalidHandshake: Status 403
Server IP is not allowed or WebSocket subprotocol mismatch.
fixCheck firewall rules and ensure ClickZetta server allows WebSocket connections from your IP.
AttributeError: module 'clickzetta' has no attribute 'connect'
Importing from 'clickzetta_connector' instead of 'clickzetta'.
fixUse 'import clickzetta' or 'from clickzetta import connect'.
Upgrade
Version history
0.8.109latest on PyPI · released Dec 24, 2025
Audit
Dependencies
requestsrequiredHTTP requests to ClickZetta API
pandasoptionalOptional: for DataFrame conversion