Skip to main content

jusi-clickhouse

jusi-clickhouse is the ClickHouse exact-provider plugin for Jusi 1.0 and the shared jusi-sql family. It exposes the clickhouse provider for %%sql cells. The family owns target selection, magic dispatch, completion ranges, metadata caching, operation routing, and common VisiData SQL commands.

Configure a SQL target in the Jusi session config:

[sql.targets.analytics]
provider = "clickhouse"
host = "localhost"
port = 8123
username = "default"
password = ""
database = "default"
initial_fetch = 100

Use it from a cell:

%%sql analytics
SELECT *
FROM system.numbers
LIMIT 1000

Results open in VisiData. Press 1-9 to fetch more rows, gf to prompt for a fetch count (0 fetches the rest), and gb to open the selected raw value through VisiData. gc and gr are present for SQL-family parity, but ClickHouse transaction control is reported as unsupported.

Follow-up cells reuse the same VisiData application, ClickHouse connection, and open result streams. JusiInterrupt requests cancellation of active queries. Closing the client closes its streams, connection, private control socket, and staged launch data.

For a local manual-test database:

./scripts/run-clickhouse.sh

The script builds jusi-clickhouse-dev, starts a local ClickHouse container, loads demo tables under demo, waits until it is ready, and prints a matching jusi.toml block.

Metadata

Release files for jusi-clickhouse 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jusi-clickhouse 0.2.0
File Size Uploaded
jusi_clickhouse-0.2.0.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jusi-clickhouse 0.2.0
File Interpreter ABI Platform
jusi_clickhouse-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.3 kB

Release files / jusi_clickhouse-0.2.0.tar.gz

Download URL jusi_clickhouse-0.2.0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d40a698633803062c636f94fa611284e1702b3faaf7a285004b5ac20ccd30f78
BLAKE2b-256 checksum
How to use checksums
1e59836e973468da31248329a476b3af8d0273683ffcf03b07e69213648856ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / jusi_clickhouse-0.2.0-py3-none-any.whl

Download URL jusi_clickhouse-0.2.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fae0fc065a828ce836eb1509aa3e44d9ff9108b85a7ae00e28dfd21efbb5773
BLAKE2b-256 checksum
How to use checksums
ec8974320ca5c2254788c5d55e3b99921949d788fbc1c24c03a052493a853424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

0.2.2

2 release files

0.2.1

2 release files

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page