Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 4.5 KB

README.md

File metadata and controls

53 lines (37 loc) · 4.5 KB

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 ❤️ by the Data Engineering team from QuintoAndar