Hive Thrift Client for Python
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hiver
.hgignore
.hgtags
ChangeLog
MANIFEST.in
README.rst
publish.sh
setup.py
test-install.sh

README.rst

What?

Packing hive thrift client in more Pythonic way.

Why?

Hive thrift libraries taken from CDH4 distribution and then mucked around to make the imports work.

How?

In code

import hiver
client = hiver.connect(host, port)
client.execute('SHOW TABLES')
rows = client.fetchAll()

Command line

Poor mans hive client

python -m hiver [script]

Who?

https://bitbucket.org/tebeka/hive