ClickHouse SQLAlchemy Dialect for Schatz Platform
Project description
schatz-sqlalchemy-clickhouse
=====================
ClickHouse dialect for SQLAlchemy used on Schatz Platform.
Installation
------------
The package is installable through PIP::
pip install schatz-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")
=====================
ClickHouse dialect for SQLAlchemy used on Schatz Platform.
Installation
------------
The package is installable through PIP::
pip install schatz-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
File details
Details for the file schatz-sqlalchemy-clickhouse-0.0.2.post3.tar.gz
.
File metadata
- Download URL: schatz-sqlalchemy-clickhouse-0.0.2.post3.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af764c284515ae04da8364a9cfb146afebc3fbefe2c14da184eb37c32952b78a |
|
MD5 | cfd80acf726286cd648f2ebec43f3b51 |
|
BLAKE2b-256 | ecaf056f6e327a8e2a95311185435dc40b29cc3e46ea6de8e40e63c87d4bd216 |