Skip to main content

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


Download files

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

Source Distribution

harlequin_clickhouse-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harlequin_clickhouse-0.1.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

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

Hashes for harlequin_clickhouse-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2a2609909cb95280ace5a7e108e8bb13c586ad0865401bf83f911ec94d4f0402
MD5 e877fae06f86e0308432b65a33518455
BLAKE2b-256 8b259a173ad1f8fa562e4b560e4581b3b21ed2f44f9c91c3b3181d3c6b9a750e

See more details on using hashes here.

Provenance

The following attestation bundles were made for harlequin_clickhouse-0.1.1.tar.gz:

Publisher: publish.yml on ThomAub/harlequin-clickhouse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file harlequin_clickhouse-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for harlequin_clickhouse-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3290495a8098f507fe0df277b9270461bebbe2d79d0122f97775ac1e7559c086
MD5 80b7f553380b8da701bb9a31eafe7912
BLAKE2b-256 05ac7898826ac9ed65e8ddb3af3f753d72f44ddad62801d7d790669db96d8802

See more details on using hashes here.

Provenance

The following attestation bundles were made for harlequin_clickhouse-0.1.1-py3-none-any.whl:

Publisher: publish.yml on ThomAub/harlequin-clickhouse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page