Programming Language
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: 3.15
- Rust
clickhouse-connect-core
Compiled Rust codec for clickhouse-connect. This wheel provides the _ch_core extension module that decodes ClickHouse FORMAT Native query results and encodes inserts.
This package is not meant to be used directly. Install it through the rust extra of the main driver:
pip install "clickhouse-connect[rust]"
Then enable the codec on a client:
import clickhouse_connect
client = clickhouse_connect.get_client(host="localhost", native_codec="rust")
The codec is experimental and opt in. See the clickhouse-connect documentation for supported values, fallback rules, and version compatibility.
The _ch_core module has no public API contract. Its interface exists solely for the clickhouse-connect driver, which checks the binding API version and required capabilities at client creation and tells you when this wheel needs an upgrade. Core 0.2.3 provides binding API 3, column-buffer API 1, and default-timezone API 1. ClickHouse Connect 1.11.0 uses the default-timezone capability for Python row and column queries in non-UTC ambient timezones.
This package is versioned independently of the driver. See the core binding changelog for its release history and the driver changelog for driver integration changes and core version requirements.
Issues and source live in the clickhouse-connect repository under rust/ch-core-py. The decoding core itself is ch-core-rs.