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.0.tar.gz
(13.8 kB
view hashes)
Close
Hashes for superset-clickhouse-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0902acdfc6c4cb96bdcffeaf593ea0fc2f1b67c80971742026c3983ca775bebe |
|
MD5 | 818afb633c4b8919e7543bdd5f242063 |
|
BLAKE2b-256 | fbbc5b8b366963f4ecdef494b21bee13826423fafe357bf26899ba04abd0195e |