--- id: hive-metastore-client version: "1.0.9" license: Copyright license_treatment: unclear maintenance: active --- # hive-metastore-client — A client for connecting and running DDLs on Hive Metastore with Thrift protocol License: unclear · Maintenance: active · Downloads: 320.1K/mo ## What it is and what it does Hive Metastore Client is a Python wrapper around the Thrift protocol for communicating with Apache Hive Metastore. It provides a higher-level interface for executing DDL (Data Definition Language) operations—such as creating, modifying, and dropping databases and tables—without writing raw Thrift calls. The package depends only on thrift and supports Python 3.7 and later. Typically used in data engineering workflows where you need to programmatically manage Hive metadata from Python code. It abstracts the Thrift connection and serialization details, offering builder patterns and context managers to simplify common operations. The library is suitable for automation scripts, data pipelines, and integration layers that need to interact with Hive Metastore. Use it for: - Automate database and table creation in Hive Metastore as part of a data pipeline setup. - Programmatically manage Hive schema definitions from Python without direct Thrift protocol handling. - Build data engineering tools that need to query or modify Hive metadata at runtime. - Integrate Hive Metastore operations into orchestration frameworks or ETL workflows. - Perform bulk DDL operations on Hive tables from a Python application or script. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python client for connecting to Apache Hive Metastore and executing DDL commands via the Thrift protocol. Yes, if you need to interact with Hive Metastore from Python and can work around the unclear license. The package has low install friction, no known vulnerabilities, and active repository maintenance. However, verify the license terms before use in commercial projects, and note that the latest release is over 4 years old—test compatibility with your Hive version before deploying to production. ## Install pip install hive-metastore-client uv add hive-metastore-client poetry add hive-metastore-client ## Installing hive-metastore-client Before you install: Low install friction with a single runtime dependency on thrift. The package is actively maintained with recent commits, though the latest release was over 4 years ago; the repository remains active and not archived. License in practice: License treatment is unclear—the metadata lists 'Copyright' without an SPDX identifier. Before adopting this package in a commercial or open-source project, verify the actual license terms in the repository to confirm compatibility with your use case. Quickstart: 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) Requires Python 3.7 or later and a running Hive Metastore server accessible at the specified host and port. Verify before relying: - Whether the package is actively maintained or in maintenance-only mode despite recent commits. - The actual license terms and SPDX classification, given the unclear license treatment in metadata. ## Package facts - License: Copyright (unclear) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 320.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags hive metastore client, hive ddl commands python, thrift hive connection, hive database management, metastore python client, hive table operations, hive schema management, hive, metastore, data-engineering [View on SkillFed](https://skillfed.io/packages/hive-metastore-client) · [View on PyPI](https://pypi.org/project/hive-metastore-client/)