WClickHouse QueryBuilder offers type-safe, fluent SQL composition for Python developers
WClickHouse has released a QueryBuilder tool designed to replace error-prone f-string SQL construction in Python applications targeting ClickHouse databases. The library provides a chainable API supporting select, where, group_by, order_by, joins, union_all, and subqueries. Dynamic query parameters are automatically escaped and validated, reducing SQL injection risks. The package is compatible with Python 3.9 through 3.14 and integrates with Apache Arrow and Pydantic v2. It has been tested against live ClickHouse instances with over 95% test coverage and is available on PyPI and GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in