基于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
Hashes for pyhbasecli-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1d7da123542e99dbbba7595bfdfcac565924ac49a645fb60a711f20a61adcb6 |
|
MD5 | a931a163c35a5ed305ef7237586dc013 |
|
BLAKE2b-256 | 133fa0d005e45baf349a1738f9bc43cc59245d81d53c04db3e63a1bb322bea0a |