clickhouse-http-client-1.0.2
توضیحات
clickhouse http client, author liyuanjun
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | clickhouse-http-client-1.0.2 |
| نام | clickhouse-http-client |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | liyuanjun |
| ایمیل نویسنده | 1123431949@qq.com |
| آدرس صفحه اصلی | https://github.com/tomoncle/clickhouse-http-client |
| آدرس اینترنتی | https://pypi.org/project/clickhouse-http-client/ |
| مجوز | MIT |
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"})
نحوه نصب
نصب پکیج whl clickhouse-http-client-1.0.2:
pip install clickhouse-http-client-1.0.2.whl
نصب پکیج tar.gz clickhouse-http-client-1.0.2:
pip install clickhouse-http-client-1.0.2.tar.gz