A Harlequin adapter for Clickhouse
Project description
harlequin-clickhouse
A Harlequin adapter for ClickHouse databases.
Installation
You must install the harlequin-clickhouse package into the same environment as harlequin. The best and easiest way to do this is to use uv to install Harlequin with the additional package:
uv tool install harlequin --with harlequin-clickhouse
Usage and Configuration
Run Harlequin with the -a clickhouse option and pass a ClickHouse DSN as an argument:
harlequin -a clickhouse "clickhouse://default:@localhost:9000/default"
You can also pass all or parts of the connection string as separate options. The following is equivalent to the above DSN:
harlequin -a clickhouse --host localhost --port 9000 --database default --user default
Many more options are available; to see the full list, run:
harlequin -a clickhouse --help
Setup ClickHouse
This is from the ClickHouse single node with Keeper in the ClickHouse Examples repo
Single node ClickHouse instance leveraging 1 ClickHouse Keeper
By default the version of ClickHouse used will be latest, and ClickHouse Keeper
will be latest-alpine. You can specify specific versions by setting environment
variables before running docker compose up.
export CHVER=23.4
export CHKVER=23.4-alpine
docker compose up
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-0.1.1.tar.gz.
File metadata
- Download URL: harlequin_clickhouse-0.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a2609909cb95280ace5a7e108e8bb13c586ad0865401bf83f911ec94d4f0402
|
|
| MD5 |
e877fae06f86e0308432b65a33518455
|
|
| BLAKE2b-256 |
8b259a173ad1f8fa562e4b560e4581b3b21ed2f44f9c91c3b3181d3c6b9a750e
|
Provenance
The following attestation bundles were made for harlequin_clickhouse-0.1.1.tar.gz:
Publisher:
publish.yml on ThomAub/harlequin-clickhouse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
harlequin_clickhouse-0.1.1.tar.gz -
Subject digest:
2a2609909cb95280ace5a7e108e8bb13c586ad0865401bf83f911ec94d4f0402 - Sigstore transparency entry: 434041866
- Sigstore integration time:
-
Permalink:
ThomAub/harlequin-clickhouse@b937c6171447ad081998f87fd50d991c4ff97537 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ThomAub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b937c6171447ad081998f87fd50d991c4ff97537 -
Trigger Event:
push
-
Statement type:
File details
Details for the file harlequin_clickhouse-0.1.1-py3-none-any.whl.
File metadata
- Download URL: harlequin_clickhouse-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3290495a8098f507fe0df277b9270461bebbe2d79d0122f97775ac1e7559c086
|
|
| MD5 |
80b7f553380b8da701bb9a31eafe7912
|
|
| BLAKE2b-256 |
05ac7898826ac9ed65e8ddb3af3f753d72f44ddad62801d7d790669db96d8802
|
Provenance
The following attestation bundles were made for harlequin_clickhouse-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on ThomAub/harlequin-clickhouse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
harlequin_clickhouse-0.1.1-py3-none-any.whl -
Subject digest:
3290495a8098f507fe0df277b9270461bebbe2d79d0122f97775ac1e7559c086 - Sigstore transparency entry: 434041879
- Sigstore integration time:
-
Permalink:
ThomAub/harlequin-clickhouse@b937c6171447ad081998f87fd50d991c4ff97537 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ThomAub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b937c6171447ad081998f87fd50d991c4ff97537 -
Trigger Event:
push
-
Statement type: