qmetrics.net

PyHive

Python DB-API and SQLAlchemy for Hive and Presto

Data Engineering & IntegrationDatabasesNo commits in 18+ monthsDesktop/CLI app

PyHive has had no code changes for over 18 months (last commit 2 years ago).

PyHive provides DB-API and SQLAlchemy connectors so Python programs query Hive, Presto, and Trino over their standard wire protocols.

Overview

PyHive is a collection of Python database interfaces for Apache Hive, Presto, and Trino. It exposes familiar DB-API cursors and SQLAlchemy engines so analytics and ETL code can run SQL against those engines from Python.

The DB-API layer lets you connect, execute queries, and fetch rows synchronously. Hive supports asynchronous execution with polling, log streaming, and cancellation while a query runs. Separate install extras cover each backend: Hive (with SASL or pure-sasl options), Presto, and Trino.

SQLAlchemy integration registers dialects so create_engine can target presto://, hive://, or trino+pyhive:// URLs. Connect arguments pass session properties, HTTPS protocol options, Hive configuration maps, and LDAP authentication where needed. Raw SQL is the expected path; generated SQL coverage is limited.

The maintainers describe the scope as a minimal client focused on connectivity rather than higher-level analytics features. Generic HTTP session customization is preferred over many one-off parameters. Development has moved to the Apache Kyuubi project, which continues PyHive maintenance.

Key features

  • DB-API for Hive, Presto, and Trino
  • SQLAlchemy engine dialects
  • Async Hive queries with polling
  • Session and configuration passthrough
  • LDAP auth for Hive SQLAlchemy URLs
  • Optional pure-sasl for newer Python
  • HTTPS Presto and Trino connections

Use cases

  • Python analytics against Hive
  • Querying Presto from applications
  • Trino access via Python
  • SQLAlchemy pipelines on big-data SQL engines
  • Long-running Hive jobs with log streaming

Tags

Similar software

Neo4j APOC Procedures

Neo4j extended stored procedures and functions library

APOC Extended adds Java procedures and functions for Neo4j beyond the core library. It covers integration, export, NLP, and experimental graph utilities invoked from Cypher.

★ 1.9k⟳ 8 days agoApache-2.0

ClickHouse Driver

Python client for ClickHouse native TCP protocol

Connects Python applications to ClickHouse over the native interface rather than HTTP. It offers a Client API and a DB API 2.0 compatible connection layer.

★ 1.3k⟳ 4 months agoMIT

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

★ 198.7k⟳ 21 days agoMIT

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

OpenBB

Open-source data integration platform for analysts, quants and AI agents

Open Data Platform (ODP) by OpenBB connects proprietary, licensed and public data sources once, then exposes them to Python, OpenBB Workspace, Excel, MCP servers for AI agents, and REST APIs.

★ 75.8k⟳ 9 days agoApache-2.0

Docling

Document parsing toolkit for generative AI pipelines

Docling ingests PDFs, office files, media, email, and many other formats into a unified document model. It targets downstream RAG and agent workflows with local execution options.

★ 71.1k⟳ yesterdayMIT