Hwrapper is python 3+ wrapper for hbase rest.

(alternate download from pypi http://pypi.python.org/pypi/Hwrapper/0.1 )



Common Usage :

start your hbase rest $bin/hbase rest start -p 9300 (Default port is 8080)
check out wiki for more detailed tutorial.

Creating a table

hwrapper=Hwrapper()
hwrapper.connectionParameters("host","port", False) // third argument set to false if you are not using https
hwrapper.setAcceptType("json")
columnFamilies={"cf","cf1"}
hwrapper.create_table("table_name",columnFamilies)


get Row data by ID (decoded base64 values)

hwrapper.get_RowBy_ID("0000000-120529115546748") // outputs list of dicts, dicts contain column names and values


Dropping a table

hwrapper.drop_table("table_name")


Displaying table schema

hwrapper.table_schema("table_name")


Listing all tables from hbase

hwrapper.list_tables()

Project Activity

See All Activity >

License

Apache Software License

Follow Hwrapper

Hwrapper Web Site

Other Useful Business Software
Cloud-based help desk software with ServoDesk Icon
Cloud-based help desk software with ServoDesk

Full access to Enterprise features. No credit card required.

What if You Could Automate 90% of Your Repetitive Tasks in Under 30 Days? At ServoDesk, we help businesses like yours automate operations with AI, allowing you to cut service times in half and increase productivity by 25% - without hiring more staff.
Try ServoDesk for free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Hwrapper!

Additional Project Details

Operating Systems

Cygwin, Linux

Languages

English

Intended Audience

Developers

User Interface

Other toolkit

Programming Language

Python

Database Environment

Python Database API

Registered

2012-06-27