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.0.post3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 404cc955d87651a8ba1bd514479f39299b79fd978cb3ddddbe7fab5097430f8f |
|
MD5 | 24d7990b26226903693c33df2984306a |
|
BLAKE2b-256 | d0793b72c059c501cb6b389aa3951658ddd02cdb5a008ed5fbcd4e5a643ad051 |