{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"PyHive provides DB-API and SQLAlchemy interfaces to query Presto, Hive, and Trino clusters from Python, supporting both synchronous and asynchronous execution.","skillfed_tags":["big-data-sql","db-api","hive-client"],"use_cases":["Execute ad-hoc SQL queries against a Hive cluster from a Python script or notebook.","Build a data pipeline that reads from Presto or Trino and processes results in Python.","Construct dynamic queries against Hive with LDAP authentication via the dialect interface.","Poll asynchronous Hive queries for completion and fetch logs while waiting.","Integrate Hive or Trino as a data source in a Python application via the DB-API."],"what_it_does":"PyHive is a Python client library that bridges your code to Hive, Presto, and Trino clusters via two interfaces: a standard DB-API (similar to psycopg2 or sqlite3) and a dialect for query builders. It lets you execute SQL queries against these big-data engines and fetch results, with optional asynchronous execution for long-running queries on Hive. The package has no runtime dependencies by default; you install extras for the specific engine you need (hive, presto, or trino), each bringing its own transport and protocol dependencies.\n\nThe library is minimal in scope\u2014it handles connection, query execution, and result fetching without attempting to abstract away engine-specific features. It supports session configuration (query timeouts, resource limits), authentication (LDAP, basic auth over HTTPS), and both modern and legacy patterns. The project is maintained but explicitly marked unsupported in its description, and installation friction is high due to the need to select and install the correct extras for your target engine.","worth_installing":"Yes, if you need to query Hive, Presto, or Trino from Python and are willing to manage the extra selection and engine-specific dependencies. The package is actively maintained, permissively licensed, and widely downloaded, but install friction is high and the project's own description marks it unsupported\u2014clarify your engine's support status before committing. No known vulnerabilities."},"id":"pyhive","links":{"html":"https://skillfed.io/packages/pyhive","md":"https://skillfed.io/packages/pyhive.md","pypi":"https://pypi.org/project/pyhive/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-08-17","license_spdx":null,"license_treatment":"permissive","name":"PyHive","python_support":"unspecified","summary":"Python interface to Hive"},"popularity":{"monthly_downloads":6915720,"position":1812,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.7.0"}
