Metadata-Version: 2.1
Name: pyhbasecli
Version: 0.0.2
Summary: 基于thrift2的hbase客户端
Author: hsz
Author-email: hsz1273327@gmail.com
License: MIT License
Keywords: hbase,thrift
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# pyhbasecli

基于thrift2的hbase客户端

+ author: hsz

keywords: hbase,thrift

## 特性

+ 可以连接处理阿里云hbase
+ 使用的是[thrift2版本](https://github.com/apache/hbase/blob/master/hbase-thrift/src/main/resources/org/apache/hadoop/hbase/thrift2/hbase.thrift?spm=a2c6h.12873639.article-detail.6.216d35d1BSozCF&file=hbase.thrift)
+ 支持http方式连接
+ python友好的接口设计

## 安装

```bash
pip install pyhbasecli
```

## 例子

```python
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.
