qmetrics.net

ClickHouse Python Driver

Python client for ClickHouse native TCP protocol

ClickHouse Python 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

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

  • Planning and review agents
  • Skills and command library
  • Runtime hooks and memory
JavaScriptCLIDetails →
★ 316.2k⟳ 14 days agoMIT

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

  • Declarative UI rendering
  • Encapsulated stateful components
  • JSX markup beside JavaScript logic
JavaScriptWebDetails →
★ 252.7k⟳ todayMIT

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.

  • Multi-format file to Markdown conversion
  • Command-line and Python APIs
  • Optional Azure document services
PythonDocker, CLIDetails →
★ 199.7k⟳ yesterdayMIT

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

  • Unified PyTorch model definitions
  • Hugging Face Hub checkpoint loading
  • Pipeline task inference helpers
PythonCLIDetails →
★ 169.6k⟳ todayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

  • Local tree-sitter AST code parsing
  • Queryable knowledge graph output
  • EXTRACTED and INFERRED edge tags
PythonLinux, macOS, Windows, CLIDetails →
★ 156.9k⟳ todayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

  • Agent-oriented website build workflow
  • Dealt palettes, type, and hero layouts
  • Licensed photograph and icon resolution
JavaScriptCLIDetails →
★ 125.4k⟳ 7 days agoMIT