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"})
Metadata
Release files for clickhouse-http-client 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clickhouse-http-client-1.0.2.tar.gz | 2.8 kB | Details |
Release files / clickhouse-http-client-1.0.2.tar.gz
| Download URL | clickhouse-http-client-1.0.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3d5d28120cd8c2dd53b4e01233af23c4330cec92f474de07fd2b848183c3ddd
|
|
BLAKE2b-256 checksum How to use checksums |
9a3d7b2162b6715a8f2be2e92348a4c2a5e31c016e903875cf46b9dc2c37dcf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|