Skip to main content

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")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlalchemy-clickhouse-0.1.5.post0.tar.gz (13.3 kB view details)

Uploaded Source

File details

Details for the file sqlalchemy-clickhouse-0.1.5.post0.tar.gz.

File metadata

File hashes

Hashes for sqlalchemy-clickhouse-0.1.5.post0.tar.gz
Algorithm Hash digest
SHA256 7144dbd07b50d309df12a1206c2cbacda74b646780bd705f6e4e1c07d5b08169
MD5 95ebefc406d9d53fcb5bb2a43ca02b5a
BLAKE2b-256 351b9aa149641bd35a9a860c8a25de150db49d42cd51cd20f0ab3e9cf3348f54

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5.post0 This release

1 file

0.1.4.post0

1 file

0.1.3.post0

1 file

0.1.2.post3

1 file

0.1.1.post3

2 files

0.1.0.post4

1 file

0.1.0.post3

1 file

0.1.0.post2

1 file

0.1.0.post1

1 file

0.1.0.post0

1 file

0.1.0

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page