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.
The terminal application loads normal VisiData user configuration and plugins
before installing Jusi and ClickHouse commands. This includes ~/.visidatarc
and paths selected through VD_CONFIG and VD_DIR.
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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jusi_clickhouse-0.2.2.tar.gz | 16.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jusi_clickhouse-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.4 kB
Release files / jusi_clickhouse-0.2.2.tar.gz
| Download URL | jusi_clickhouse-0.2.2.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
677372b8e991801f25fe4ff0f54ef5a5f21de31fe6b6917514fb5e6ddfb43eef
|
|
BLAKE2b-256 checksum How to use checksums |
28c57db0e6596f08c8921fad840b9bc98847093de0d1ad46ad19db1ea885a6b2
|
| 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.2-py3-none-any.whl
| Download URL | jusi_clickhouse-0.2.2-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5794cad6c914f4d95e977eb03d7c35114b9f7dca5d801360e896fdc91dbe8357
|
|
BLAKE2b-256 checksum How to use checksums |
f5f1b424d1a9fd3f82d5a1d2a4aeff677f5ec0ca04c57c29ec6c6940019554f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|