0 purchases
schatzsqlalchemyclickhouse 0.0.2.post3
schatz-sqlalchemy-clickhouse=====================ClickHouse dialect for SQLAlchemy used on Schatz Platform.Installation------------The package is installable through PIP:: pip install schatz-sqlalchemy-clickhouseUsage-----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")
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.