Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

UNKNOWN

Project Description

Utilities for accessing and using hive with python.

Installing

You can install hive_utils through pip or easy-install:

pip install hive_utils

Or you can download the latest development version, which may contain new features.

Using hive_utils

hive_utils allows you to access hive with an API that is similar to MySQL-python:

query = """
    SELECT country, count(1) AS cnt
    FROM User
    GROUP BY country
"""
hive_client = hive_utils.HiveClient(
    server=config['HOST'],
    port=config['PORT'],
    db=config['NAME'],
)
for row in hive_client.execute(query):
    print '%s: %s' % (row['country'], row['cnt'])

License

hive_utils is copyright 2013 Eventbrite and Contributors, and is made available under BSD-style license; see LICENSE for details.

News

0.0.1

Relase date: September 5th, 2013

Creation.

Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hive_utils-0.0.1.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Sep 5, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting