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")
Metadata
Release files for sqlalchemy-clickhouse 0.1.5.post0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sqlalchemy-clickhouse-0.1.5.post0.tar.gz | 13.3 kB | Without provenance | Details for sqlalchemy-clickhouse-0.1.5.post0.tar.gz |
Release files / sqlalchemy-clickhouse-0.1.5.post0.tar.gz
| Download URL | sqlalchemy-clickhouse-0.1.5.post0.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7144dbd07b50d309df12a1206c2cbacda74b646780bd705f6e4e1c07d5b08169
|
|
BLAKE2b-256 checksum How to use checksums |
351b9aa149641bd35a9a860c8a25de150db49d42cd51cd20f0ab3e9cf3348f54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for sqlalchemy-clickhouse 0.1.5.post0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.