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.operations import Put, Get
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(Put(b'row1').add_column(b'cf1', b'qf', b'666'))
result = table.get(Get(b"row1").add_column(b'cf1', b'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.6.tar.gz
(99.0 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.6-py3-none-any.whl
(145.8 kB
view details)
File details
Details for the file hbase-driver-0.0.6.tar.gz.
File metadata
- Download URL: hbase-driver-0.0.6.tar.gz
- Upload date:
- Size: 99.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ff00b2a0f5baa034782d153292ec32101c6c9dd749ebdb7107fe8031bd1ca56
|
|
| MD5 |
e5089acb6c1a3343db17a2d5b6ec9bac
|
|
| BLAKE2b-256 |
d645d6a45db8a6dbf84162a478a9684737f860d9debb68a515564a4e8dca05cb
|
File details
Details for the file hbase_driver-0.0.6-py3-none-any.whl.
File metadata
- Download URL: hbase_driver-0.0.6-py3-none-any.whl
- Upload date:
- Size: 145.8 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 |
7fc281b302c2c858f5b8556bde7f7db48dd570e6b5b5351962913abce313526c
|
|
| MD5 |
83f31456a98aa02a2637af0c6b66ede2
|
|
| BLAKE2b-256 |
237465832ceb944192f0f21ad4acd2907b1057c54b3bde8d7958ac566f1656c4
|