ClickHouse Database Core Driver for Python, Pandas, and Superset
Project description
ClickHouse Connect
A high performance core database driver for connecting ClickHouse to Python, Pandas, and Superset
- Pandas DataFrames
- Numpy Arrays
- PyArrow Tables
- Superset Connector
- SQLAlchemy 1.3 and 1.4 (limited feature set)
ClickHouse Connect currently uses the ClickHouse HTTP interface for maximum compatibility.
Installation
pip install clickhouse-connect
ClickHouse Connect requires Python 3.8 or higher.
Superset Connectivity
ClickHouse Connect is fully integrated with Apache Superset. Previous versions of ClickHouse Connect utilized a dynamically loaded Superset Engine Spec, but as of Superset v2.1.0 the engine spec was incorporated into the main Apache Superset project and removed from clickhouse-connect in v0.6.0. If you have issues connecting to earlier versions of Superset, please use clickhouse-connect v0.5.25.
When creating a Superset Data Source, either use the provided connection dialog, or a SqlAlchemy DSN in the form
clickhousedb://{username}:{password}@{host}:{port}
.
SQLAlchemy Implementation
ClickHouse Connect incorporates a minimal SQLAlchemy implementation (without any ORM features) for compatibility with Superset. It has only been tested against SQLAlchemy versions 1.3.x and 1.4.x, and is unlikely to work with more complex SQLAlchemy applications.
Complete Documentation
The documentation for ClickHouse Connect has moved to ClickHouse Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file clickhouse_connect_micropip-0.7.10.tar.gz
.
File metadata
- Download URL: clickhouse_connect_micropip-0.7.10.tar.gz
- Upload date:
- Size: 79.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e5dda029745bd0833c84cd1a43240bc0606d5512d21587204937abc0302d0b9 |
|
MD5 | 1f0f1603dd36be34610ea9ded5258b93 |
|
BLAKE2b-256 | 3a548034f0e1de893f49313871d80bb41f4ccaec0d26bed4cca216a7a9fa3efc |
File details
Details for the file clickhouse_connect_micropip-0.7.10-py3-none-any.whl
.
File metadata
- Download URL: clickhouse_connect_micropip-0.7.10-py3-none-any.whl
- Upload date:
- Size: 94.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47970c74fc71b178e1bc8da19ccfb9ae7a55776040ddab2afeed2c7185b76522 |
|
MD5 | a0fffa44a759d4412864ee479812307b |
|
BLAKE2b-256 | e3488679e117255a82500bcf6d06a7bd079db2f5c9a401bf3be7e45e7437f827 |