Skip to main content

基于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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhbasecli-0.0.2.tar.gz (47.3 kB view hashes)

Uploaded Source

Built Distributions

pyhbasecli-0.0.2-py3.10.egg (47.2 kB view hashes)

Uploaded Source

pyhbasecli-0.0.2-py3-none-any.whl (48.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page