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.
Metadata
Release files for hive_utils 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hive_utils-0.0.1.tar.gz | 3.5 kB | Without provenance | Details |
Release files / hive_utils-0.0.1.tar.gz
| Download URL | hive_utils-0.0.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
985e77bed8d90b674007fc4e7b99d68c9a1749c59f9288f4cf3c05c05044d85d
|
|
BLAKE2b-256 checksum How to use checksums |
d599ce4bc1c70acf1981850b4abffe5aa50135fdc4ad3c1c1a3375141ef732f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hive_utils 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.