Project: hive-metastore-client

A client for connecting and running DDLs on Hive Metastore with Thrift protocol

Project Details

Latest version
1.0.9
Home Page
https://github.com/quintoandar/hive-metastore-client
PyPI Page
https://pypi.org/project/hive-metastore-client/

Project Popularity

PageRank
0.0017234648757001433
Number of downloads
87950

Hive Metastore Client

A client for connecting and running DDLs on Hive Metastore using Thrift protocol.

Release Python Version License Code style: black

Source Downloads Page Installation Command
PyPi PyPi Downloads Link pip install hive-metastore-client

Build status

Develop Stable Documentation Sonar
Test Publish Documentation Status Quality Gate Status

This library supports Python version 3.7+.

To check library main features you can check Hive Metastore Client's Documentation, which is hosted by Read the Docs.

An example of how to use the library for running DDL commands in hive metastore:

from hive_metastore_client.builders import DatabaseBuilder
from hive_metastore_client import HiveMetastoreClient

database = DatabaseBuilder(name='new_db').build()
with HiveMetastoreClient(HIVE_HOST, HIVE_PORT) as hive_metastore_client:
    hive_metastore_client.create_database(database) 

To learn more use cases in practice, see Hive Metastore Client examples

Requirements and Installation

Hive Metastore Client depends on Python 3.7+

Python Package Index hosts reference to a pip-installable module of this library, using it is as straightforward as including it on your project's requirements.

pip install hive-metastore-client

License

Apache License 2.0

Contributing

All contributions are welcome! Feel free to open Pull Requests. Check the development and contributing guidelines described in CONTRIBUTING.md

Made with :heart: by the Data Engineering team from QuintoAndar