No project description provided
Project description
hbase-driver
Native Hbase driver in Python. (No thrift)
Introduction
- written in pure Python
- native HBase protocol support (HBase 2.X+)
- Support both admin operations and regionserver calls.
Get Started
from hbasedriver.client import Client
from hbasedriver.exceptions.RemoteException import TableExistsException
# lets say your hbase instance runs on 127.0.0.1 (zk quorum address)
client = Client(["127.0.0.1"])
try:
client.create_table("", "mytable", ['cf1', 'cf2'])
except TableExistsException:
pass
table = client.get_table("", "mytable")
table.put("row1", {'cf1': {'qf': '666'}})
result = table.get("row1", {'cf1': ['qf']})
print(result)
Implemented
- Create, Disable, Delete table
- Put
- Get
- DELETE
TODOs
- Scan
- Filters
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
hbase-driver-0.0.4.tar.gz
(97.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
hbase_driver-0.0.4-py3-none-any.whl
(143.5 kB
view details)
File details
Details for the file hbase-driver-0.0.4.tar.gz.
File metadata
- Download URL: hbase-driver-0.0.4.tar.gz
- Upload date:
- Size: 97.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
189caee00d9a733062a06f2b32411e1385da7e5c76c4f6ca99ed5f9b1540fdb0
|
|
| MD5 |
f04044db6ddcd8fd0840dc122930146c
|
|
| BLAKE2b-256 |
03275fdd26f17cff0d464d04080cb030bc78460327840787d6e5b181da5ce0ce
|
File details
Details for the file hbase_driver-0.0.4-py3-none-any.whl.
File metadata
- Download URL: hbase_driver-0.0.4-py3-none-any.whl
- Upload date:
- Size: 143.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c4db247f1e37c1fba3a32e8eb328263614a6be42b8404daef8d1d59996a227b
|
|
| MD5 |
a61fc97b292a3334379c2206f4c3f680
|
|
| BLAKE2b-256 |
6a1ad6b0e7738ef016fb73ce92f7d679fc805957f318375e2f4bfe38b4263527
|