$npx skillfedfor your agent

chdb

chDB is an in-process OLAP SQL Engine powered by ClickHouse

Worth itPyPI LibrariesReleased Jul 20263.5M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — chdb-4.2.1-py3-none-any.whl
v4.2.1 · released 2026-07-13 · Python >=3.9 · 3 runtime deps: chdb-core, pandas, pyarrow

Yes. chDB is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It fills a clear niche for developers who want SQL analytics performance without database infrastructure. The pandas-compatible API lowers the learning curve for existing pandas users, and the SQL API provides escape hatches for advanced ClickHouse features.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9+; supports macOS and Linux (x86_64 and ARM64) only.
  • Low friction: pure Python wheel with three runtime dependencies (chdb-core, pandas, pyarrow).
  • Active maintenance with a recent release (32 days old) and 2868 repository stars.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-07-13 (32 days) · last repo commit 2026-08-12 · 2,868 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,493,256 downloads/mo, #2,601 on PyPI

Verify before relying

pip install chdb

import chdb
res = chdb.query('SELECT 1 as num', 'Pretty')
print(res)

# Or with pandas:
import pandas
df = pandas.DataFrame({'name': ['Alice', 'Bob'], 'age': [25, 30]})
print(df[df['age'] > 26])
  • Whether the pandas-compatible API is fully production-ready or still experimental.
  • Performance characteristics and memory overhead when processing datasets larger than available RAM.
  • Support status for Windows or other operating systems beyond macOS and Linux.
Same gist for agents: .md · .json

What it is and what it does

chDB embeds ClickHouse's SQL OLAP engine directly into Python, letting you run SQL queries on local files and in-memory data without installing a separate database server. It supports multiple input/output formats (Parquet, CSV, JSON, Arrow, ORC, and 60+ others) and offers two APIs: a low-level SQL interface for direct queries, and a pandas-compatible API that compiles operations to optimized SQL.

The package is designed for analytics workflows where you need SQL performance on moderately large datasets without the operational overhead of a database server. It uses lazy evaluation to defer execution until results are needed, and minimizes data transfer between C++ and Python through memory views. Runtime dependencies include chdb-core, pandas, and pyarrow.

Use it for

  • Analyze Parquet or CSV files with SQL queries without loading them entirely into memory.
  • Use familiar pandas syntax while getting ClickHouse SQL performance on large datasets.
  • Execute SQL queries on multiple file formats and data sources with a unified interface.
  • Build interactive data exploration workflows in Jupyter notebooks with lazy evaluation.
  • Perform aggregations and groupby operations on large datasets using ClickHouse's multi-threaded engine.

Worth the install?

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

Worth it

Yes.

chDB is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It fills a clear niche for developers who want SQL analytics performance without database infrastructure. The pandas-compatible API lowers the learning curve for existing pandas users, and the SQL API provides escape hatches for advanced ClickHouse features.

Install

chdb on PyPI

Before you install

Low friction: pure Python wheel with three runtime dependencies (chdb-core, pandas, pyarrow). Active maintenance with a recent release (32 days old) and 2868 repository stars.

Requires Python 3.9+; supports macOS and Linux (x86_64 and ARM64) only.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install chdb

import chdb
res = chdb.query('SELECT 1 as num', 'Pretty')
print(res)

# Or with pandas:
import pandas
df = pandas.DataFrame({'name': ['Alice', 'Bob'], 'age': [25, 30]})
print(df[df['age'] > 26])

Verify before relying

  • Whether the pandas-compatible API is fully production-ready or still experimental.
  • Performance characteristics and memory overhead when processing datasets larger than available RAM.
  • Support status for Windows or other operating systems beyond macOS and Linux.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
chdb-corepandaspyarrow
MaintenanceActively maintained 32 days since the last release
Last repo commit
First released
Downloads3,493,256 / month, #2,601 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: PluginsIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: DatabaseTopic :: Scientific/EngineeringTopic :: Software Development :: Libraries

Evidence: chdb-4.2.1-py3-none-any.whl

Tags

Capabilities
in-process SQL OLAP engineclickhouse pythonsql analytics enginelocal sql queryparquet csv json sqlembedded analytics databasepython sql engine
Topics
olap-analyticsembedded-sqlpandas-compatible
PyPI keywords
chdbclickhouseolapanalyticsdatabasesql

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 › “sql analytics engine”

  • chdbchDB is an in-process SQL OLAP engine powered by ClickHouse that…
  • chdb-corechdb-core is an in-process SQL OLAP engine powered by ClickHouse that…
  • databend-driverPython client library for connecting to Databend databases,…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also chdb-core · mcp-clickhouse · duckdb · clickhouse-connect · clickhouse-driver · clickhouse-migrations · qpd · airflow-clickhouse-plugin · aiochclient · asynch