基于thrift2的hbase客户端
Project description
pyhbasecli
基于thrift2的hbase客户端
- author: hsz
keywords: hbase,thrift
特性
- 可以连接处理阿里云hbase
- 使用的是thrift2版本
- 支持http方式连接
- python友好的接口设计
安装
pip install pyhbasecli
例子
with HBaseCli(
url=URL,
headers={"ACCESSKEYID": "root", "ACCESSSIGNATURE": "root"}) as client:
nsinfo = client.show_namespaces()
print(nsinfo)
todo
- 增加socket方式连接
0.0.2
- 增加了对mutation的支持
- put操作增加了额外参数
- 丰富了文档
- 统一了TTableName的输入,现在会全部转换为bytes
- 统一了TColumn的输入,现在全部会转换为bytes
0.0.1
项目创建 MIT License
Copyright (c) 2022 Python-Tools
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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
Built Distributions
File details
Details for the file pyhbasecli-0.0.2.tar.gz
.
File metadata
- Download URL: pyhbasecli-0.0.2.tar.gz
- Upload date:
- Size: 47.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bbf1d683b5542a01138cc35eb00b1141ca248ecc5d5850835f03a96f7728139 |
|
MD5 | f05e6112dac6f48d12af3ebe38385176 |
|
BLAKE2b-256 | eba69802760efead0af2f579f8da091060cd4f9e0e39a19ce721340d7bcd5b2b |
File details
Details for the file pyhbasecli-0.0.2-py3.10.egg
.
File metadata
- Download URL: pyhbasecli-0.0.2-py3.10.egg
- Upload date:
- Size: 47.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31a2e3268ca91270a59126683e9d8922a4d8cbf3b3e3a011e08408203cd97069 |
|
MD5 | a31ac4e0b7d2fb5795845e9d677e1e85 |
|
BLAKE2b-256 | f729f638b06d084d6e4a96a92442b4676a907a51fded3435f05ac48350bb2a07 |
File details
Details for the file pyhbasecli-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pyhbasecli-0.0.2-py3-none-any.whl
- Upload date:
- Size: 48.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1d7da123542e99dbbba7595bfdfcac565924ac49a645fb60a711f20a61adcb6 |
|
MD5 | a931a163c35a5ed305ef7237586dc013 |
|
BLAKE2b-256 | 133fa0d005e45baf349a1738f9bc43cc59245d81d53c04db3e63a1bb322bea0a |