Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clickhouse-http-client-1.0.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file clickhouse-http-client-1.0.2.tar.gz.

File metadata

File hashes

Hashes for clickhouse-http-client-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c3d5d28120cd8c2dd53b4e01233af23c4330cec92f474de07fd2b848183c3ddd
MD5 37c835044e75df084b28f970b17f9657
BLAKE2b-256 9a3d7b2162b6715a8f2be2e92348a4c2a5e31c016e903875cf46b9dc2c37dcf6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page