clickhouse http client, author liyuanjun
Project description
clickhouse-http-client
clickhouse http client.
Install
Use source:
$ git clone https://github.com/tomoncle/clickhouse-http-client.git $ cd clickhouse-http-client $ sudo python setup.py install
Use pip:
$ pip install clickhouse-http-client
Usage
init:
from clickhouse_http_client import ClickHouse ck = ClickHouse(password="123456")
query:
ck.text("select * from table_name") ck.json("select * from table_name")
delete:
ck.delete("table_name", "id IS NOT NULL")
save:
ck.insert("table_name", {"name":"tomoncle", "age":"27"})
update:
ck.update("table_name", "status=1", {"name":"tomoncle", "age":"27"})
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
Close
Hashes for clickhouse-http-client-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d5d28120cd8c2dd53b4e01233af23c4330cec92f474de07fd2b848183c3ddd |
|
MD5 | 37c835044e75df084b28f970b17f9657 |
|
BLAKE2b-256 | 9a3d7b2162b6715a8f2be2e92348a4c2a5e31c016e903875cf46b9dc2c37dcf6 |