A Python client for the Thrift interface to Hive Metastore
Project description
pymetastore 🐝 🐍
pymetastore
is a Python client for Hive Metastore.
Key Features
- Python-friendly interface for Hive Metastore
- Comprehensive support for metadata operations
- Fully compatible with the Hive metastore service over Thrift protocol
Installation
Install pymetastore with pip:
pip install pymetastore
Quick Start
Here's a taste of using pymetastore
to connect to Hive Metastore and list all databases:
from pymetastore.metastore import HMS
# create a connection to Hive Metastore
with HMS.create(host="localhost", port=9083) as hms:
# list all databases
databases = hms.client.get_all_databases()
print(databases)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymetastore-0.1.0.tar.gz
(127.6 kB
view hashes)
Built Distribution
pymetastore-0.1.0-py3-none-any.whl
(130.3 kB
view hashes)
Close
Hashes for pymetastore-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35a8ec4f5c86cd2bcd0885c92ef89f3ff58432f25527033019617c298db1b70b |
|
MD5 | 3e6de86bc173dbc6772146f5d9b6d773 |
|
BLAKE2b-256 | f2cafbb9d1ca382c8323dd3a53eb86fd0dbc127cec2e1788cd32b4fcacb50f81 |