A Harlequin adapter for ClickHouse.
Project description
harlequin-clickhouse-adapter
A ClickHouse adapter for Harlequin built on clickhouse-driver.
Installation
Using uv:
uv pip install harlequin-clickhouse-adapter
From source:
uv sync
uv pip install -e .
Usage
Connect with a URL:
harlequin clickhouse clickhouse://user:password@localhost:9000/default
Connect with explicit options:
harlequin clickhouse \
--host localhost \
--port 9000 \
--user default \
--database default
Or via positional connection tokens (host, port, database, user, password):
harlequin clickhouse localhost 9000 default default secret
TLS and compression
harlequin clickhouse \
--host ch.example.com \
--port 9440 \
--secure \
--ca-cert /path/to/ca.pem \
--compression
ClickHouse settings
Repeat --setting for query-level settings:
harlequin clickhouse \
--host localhost \
--setting max_threads=8 \
--setting max_memory_usage=10000000000
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file harlequin_clickhouse_adapter-0.1.0.tar.gz.
File metadata
- Download URL: harlequin_clickhouse_adapter-0.1.0.tar.gz
- Upload date:
- Size: 174.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49180c9e5e9eca391e33d06f508d3241fd3a4b71e8000240686af18e29d57f19
|
|
| MD5 |
d6e6993098d210e4fbb3b78def14334c
|
|
| BLAKE2b-256 |
169be6cc4b95207f059c8e4fe28b0ab5cb410f1be2e4a9316e818177bf4d811a
|
File details
Details for the file harlequin_clickhouse_adapter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: harlequin_clickhouse_adapter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
738edf7cb97ef60bc72405d3fed16bdabecba31a303f4108117b07ca4bc730d8
|
|
| MD5 |
175ba787a591e1e951e331e28c62cf09
|
|
| BLAKE2b-256 |
243466987d007a22c1b3c0897a94fdc17f9a7247d78007dc0be367cab20698dd
|