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.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b939b0838a236696c2adc6764c98db3868ce0761b9c4b9c198fcf7de0156e305 |
|
MD5 | 83674bd30c2af3edf7f4f75f0d969df8 |
|
BLAKE2b-256 | d77e808a740c2f7577d91fd7306f9324becf75c3ef1b178d6e905983aca8d586 |