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.
Initialize without running a query
Execute a cell containing only %%sql analytics, or run :JusiBootstrap while
keeping a query draft in the cell. This opens a ready client and starts its
normal metadata warm-up without running the draft or a dummy SQL query.
Completion can use cached metadata immediately and fresh metadata as it arrives.
Subsequent queries use the same client. Repeated :JusiBootstrap reuses it;
changing the target alias requires closing the old client first.
This requires the bootstrap-capable core and matching jusi-sql and SQL provider
updates. No query history entry is added for initialization.
Metadata
Release files for jusi-clickhouse 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| jusi_clickhouse-0.2.3.tar.gz | 17.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jusi_clickhouse-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.5 kB
Release files / jusi_clickhouse-0.2.3.tar.gz
| Download URL | jusi_clickhouse-0.2.3.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a7e4058659094d938440ba23a31e6eb671b7d36e3ffa8688ffeb60400b60d22
|
|
BLAKE2b-256 checksum How to use checksums |
5fb314fdeea4e1d30ae655a5302e97e164d7b1cdf67ccd07700c48e86e9f18c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.1
|
Release files / jusi_clickhouse-0.2.3-py3-none-any.whl
| Download URL | jusi_clickhouse-0.2.3-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e603fa03b9fdfc36fc6e2fc0ddc5462df544f621ed46e7e4ebca4ae366a6627
|
|
BLAKE2b-256 checksum How to use checksums |
0fa11e77e0c29b6970e125ce892960594da9da22a5686dd19d3d47674dab2124
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.1
|
Security for jusi-clickhouse 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.