
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.
clickhouse-connect
Advanced tools
A high performance core database driver for connecting ClickHouse to Python, Pandas, and Superset
ClickHouse Connect currently uses the ClickHouse HTTP interface for maximum compatibility.
pip install clickhouse-connect
ClickHouse Connect requires Python 3.9 or higher. We officially test against Python 3.9 through 3.13.
ClickHouse Connect is fully integrated with Apache Superset. Previous versions of ClickHouse Connect utilized a dynamically loaded Superset Engine Spec, but as of Superset v2.1.0 the engine spec was incorporated into the main Apache Superset project and removed from clickhouse-connect in v0.6.0. If you have issues connecting to earlier versions of Superset, please use clickhouse-connect v0.5.25.
When creating a Superset Data Source, either use the provided connection dialog, or a SqlAlchemy DSN in the form
clickhousedb://{username}:{password}@{host}:{port}.
ClickHouse Connect includes a lightweight SQLAlchemy dialect implementation focused on compatibility with Superset and SQLAlchemy Core.
Supported features include:
SELECT queries with JOINs, ARRAY JOIN, and FINAL modifierDELETE statementsThe implementation does not include ORM support and is not intended as a full SQLAlchemy dialect. While it can support a range of Core-based applications beyond Superset, it may not be suitable for more complex SQLAlchemy applications that rely on full ORM or advanced dialect functionality.
ClickHouse Connect provides an async wrapper, so that it is possible to use the client in an asyncio environment.
See the run_async example for more details.
The documentation for ClickHouse Connect has moved to ClickHouse Docs
FAQs
ClickHouse Database Core Driver for Python, Pandas, and Superset
We found that clickhouse-connect demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.