ClickHouse SQLAlchemy Dialect
Project description
ClickHouse dialect for SQLAlchemy.
Installation
The package is installable through PIP:
pip install sqlalchemy-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')
It implements a dialect, so there’s no user-facing API.
Testing
The dialect can be registered on runtime if you don’t want to install it as:
from sqlalchemy.dialects import registry registry.register("clickhouse", "base", "dialect")
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
Close
Hashes for sqlalchemy-clickhouse-0.1.1.post3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0c528f83ffc410a21437cdfa5dbda43a6b3324ba43f33eb50d139d011206b77 |
|
MD5 | 57c115d67b219aee4c2da5efe9bc3db7 |
|
BLAKE2b-256 | 489b211551d46241674eee6466be6614587568245579f612e7671a001b95f4a6 |
Close
Hashes for sqlalchemy_clickhouse-0.1.1.post3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 959c431b0bb6231d29ec991d2ae9e7410abd8a040271b314e66f132bee87e1dd |
|
MD5 | d9a1eac01c8870624158746f536e86ea |
|
BLAKE2b-256 | 6b9bee3293ce02572afe3bcc8f1ecdb17735134477b6be5b20a47fd437ac38bd |