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 hashes)
Close
Hashes for superset-clickhouse-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61bc9c1e6296f799dedfaeb93bd138ecab675608304a558290442a4c177e9ea7 |
|
MD5 | 0b3ae58a5bd52d187eb495178abeb954 |
|
BLAKE2b-256 | 6120c874c6346202f002bb59277aac726ce7d5fe5c5cdacc83ae29f2537abcd7 |