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
Close
Hashes for sqlalchemy-clickhouse-0.1.4.post0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0235165843559688a8224984160f5c755dc1fc6e1c5f66058464596638a0facb |
|
MD5 | 8b0fae886b190a1a41b549fafaae01fc |
|
BLAKE2b-256 | cbdb80a72c6bb6247a4c65abace9435887b33bbb952cd5d914a8074df2078e9e |