$npx skillfedfor your agent

pymetastore

A Python client for the Thrift interface to Hive Metastore

With conditionsPyPI DatabaseReleased Nov 2025125.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pymetastore-0.4.2-py3-none-any.whl
v0.4.2 · released 2025-11-04 · Python >=3.8 · 1 runtime deps: thrift

Yes, if you need to query a Hive Metastore from Python code. The package has low install friction, a permissive license, no known vulnerabilities, and provides a clean abstraction over Thrift. Maintenance is aging but not stalled—updates are infrequent but the repo is not archived. Suitable for production use in data engineering contexts where metastore access is a real requirement.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Hive Metastore service accessible at the specified host and port (default 9083).
  • Installation is straightforward with low friction—a pure Python wheel with a single runtime dependency on thrift.
  • The package is in aging maintenance status with a last commit on 2025-11-04, so it receives updates but is not under active development.

License · maintenance · safety

MIT (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute pymetastore freely in both open-source and commercial projects without copyleft obligations.

last release 2025-11-04 (283 days) · last repo commit 2025-11-04 · 13 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 125,436 downloads/mo, #11,819 on PyPI

Verify before relying

pip install pymetastore

from pymetastore.metastore import HMS

with HMS.create(host="localhost", port=9083) as hms:
    databases = hms.list_databases()
    tables = hms.list_tables(database_name="test_db")
  • Whether the package supports all Hive metastore operations or only a subset of the full API.
  • Performance characteristics and scalability limits when querying large metastores.
  • Compatibility with specific Hive or Hadoop versions beyond the Python version requirement.
Same gist for agents: .md · .json

What it is and what it does

pymetastore wraps the Thrift protocol used by Hive Metastore into a Python-friendly API, letting you programmatically query metadata about databases, tables, and partitions stored in a Hive metastore service. It depends only on thrift and supports Python 3.8 and later, making it a lightweight addition to data engineering workflows that need to inspect or manage Hive metadata without writing raw Thrift code.

The package is typically used in data pipelines and catalog systems where you need to discover table schemas, list partitions, or retrieve metadata properties from a running metastore. It abstracts away the low-level Thrift details and provides context managers and straightforward method calls for common operations like listing databases, fetching table definitions, and querying partition information.

Use it for

  • Discover table schemas and partition structures from a Hive metastore in a data discovery or catalog tool.
  • Automate metadata validation or governance checks by querying metastore state programmatically.
  • Build data pipeline orchestration logic that depends on inspecting table properties or partition availability.
  • Integrate Hive metastore metadata into a data lineage or data quality monitoring system.
  • Query partition information to dynamically determine which data to process in a batch job.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to query a Hive Metastore from Python code.

The package has low install friction, a permissive license, no known vulnerabilities, and provides a clean abstraction over Thrift. Maintenance is aging but not stalled—updates are infrequent but the repo is not archived. Suitable for production use in data engineering contexts where metastore access is a real requirement.

Install

pymetastore on PyPI

Before you install

Installation is straightforward with low friction—a pure Python wheel with a single runtime dependency on thrift. The package is in aging maintenance status with a last commit on 2025-11-04, so it receives updates but is not under active development.

Requires a running Hive Metastore service accessible at the specified host and port (default 9083).

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute pymetastore freely in both open-source and commercial projects without copyleft obligations.

Quickstart

pip install pymetastore

from pymetastore.metastore import HMS

with HMS.create(host="localhost", port=9083) as hms:
    databases = hms.list_databases()
    tables = hms.list_tables(database_name="test_db")

Verify before relying

  • Whether the package supports all Hive metastore operations or only a subset of the full API.
  • Performance characteristics and scalability limits when querying large metastores.
  • Compatibility with specific Hive or Hadoop versions beyond the Python version requirement.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
thrift
MaintenanceAging 283 days since the last release
Last repo commit
First released
Downloads125,436 / month, #11,819 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pymetastore-0.4.2-py3-none-any.whl

Tags

Capabilities
hive metastore clientpython thrift metastorehive metadata querymetastore database tableshcatalog python clientdata catalog integrationhive partition management
Topics
hive-ecosystemmetadata-managementdata-engineering
PyPI keywords
datadata catalogdata discoverydata engineeringdata governancedata infrastructuredata integrationdata pipelineshcataloghivehive metastoremetadatametastorethriftpythonrecap

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “hive metadata query”

  • pymetastorepymetastore is a Python client for the Hive Metastore that provides a…
  • hmsclientA Python client for connecting to and querying the Hive metastore via…
  • hive-metastore-clientA Python client for connecting to Apache Hive Metastore and executing…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also hive-metastore-client · hmsclient · google-cloud-dataproc-metastore · pure-transport · google-cloud-bigquery-biglake · apache-airflow-providers-apache-hive · databricks-dbapi · impyla · PyHive · pyhiveapi