ClickHouse SQLAlchemy Dialect for Superset
Project description
ClickHouse dialect for SQLAlchemy for Superset.
Installation
The package is installable through PIP:
pip install superset-clickhouse
Usage
The DSN format is similar to that of regular Postgres:
>>> import sqlalchemy as sa >>> sa.create_engine('clickhouse://username:password@hostname:port/database') Engine('clickhouse://username:password@hostname:port/database')
For SSL add ssl parameter to URL:
>>> import sqlalchemy as sa >>> sa.create_engine('clickhouse://username:password@hostname:port/database?ssl=True') Engine('clickhouse://username:password@hostname:port/database')
It implements a dialect, so there’s no user-facing API.
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
superset-clickhouse-0.1.1.tar.gz
(13.9 kB
view details)
File details
Details for the file superset-clickhouse-0.1.1.tar.gz
.
File metadata
- Download URL: superset-clickhouse-0.1.1.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
61bc9c1e6296f799dedfaeb93bd138ecab675608304a558290442a4c177e9ea7
|
|
MD5 |
0b3ae58a5bd52d187eb495178abeb954
|
|
BLAKE2b-256 |
6120c874c6346202f002bb59277aac726ce7d5fe5c5cdacc83ae29f2537abcd7
|