sqlalchemy-clickhouse

  • 所有者: cloudflare/sqlalchemy-clickhouse
  • 平台:
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

sqlalchemy-clickhouse

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

主要指標

概覽
名稱與所有者cloudflare/sqlalchemy-clickhouse
主編程語言Python
編程語言Python (語言數: 1)
平台
許可證Apache License 2.0
所有者活动
創建於2016-12-13 22:41:38
推送於2024-09-25 05:04:50
最后一次提交2024-09-19 21:52:17
發布數6
最新版本名稱v0.1.5 (發布於 )
第一版名稱v0.1 (發布於 )
用户参与
星數322
關注者數18
派生數104
提交數54
已啟用問題?
問題數50
打開的問題數37
拉請求數19
打開的拉請求數10
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?