Source

hiver / README.rst

Full commit

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 hive
client = hive.connect(host, port)
client.execute('SHOW TABLES')
rows = client.fetchAll()

Command line

Poor mans hive client

python -m hive [script]