qmetrics.net

ClickHouse Driver

Python client for ClickHouse native TCP protocol

ClickHouse Driver screenshot

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.

Overview

clickhouse-driver is a Python package for talking to ClickHouse servers through the native TCP protocol on the default port, as opposed to the HTTP interface. The authors highlight denser binary transfer, configurable server settings, LZ4 compression, query profile metadata, and block-wise result streaming as reasons to prefer the native path for application code.

The library exposes a straightforward Client with execute helpers for DDL, inserts, and selects, plus a connect-based DB API surface with cursors familiar to database programmers. It supports many ClickHouse column types, external data attachments, query settings, TLS, multiple hosts, progress callbacks, server logs, and optional NumPy, Pandas, or PyArrow integrations documented separately.

Asynchronous access is pointed to a sibling aioch project rather than being built into the core driver. Installation is available from PyPI or source, with documentation covering compression, secure connections, columnar result formats, and TCP keepalive behavior.

Consumers typically embed the driver in services, notebooks, or ETL jobs that need efficient bulk reads and writes against self-managed or hosted ClickHouse clusters.

Key features

  • Native TCP protocol support
  • Client and DB API interfaces
  • Broad ClickHouse type coverage
  • LZ4 compression and TLS
  • Block-wise streaming results
  • Query progress and profile info
  • External data for queries
  • Optional NumPy and Pandas paths

Use cases

  • Python ETL into ClickHouse
  • Low-latency analytical queries
  • Services using DB API cursors
  • Bulk insert from application code
  • Monitoring query progress in apps

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

PyHive

Python DB-API and SQLAlchemy for Hive and Presto

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

★ 1.7k⟳ 2 years agoApache-2.0
Data Engineering & IntegrationNo commits in 18+ monthsDesktop/CLI app

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