{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Database","url":"https://skillfed.io/packages/category/database/3"}],"enrichment":{"capability":"An ORM for ClickHouse that lets you define model classes, insert records, and query the database using a Python API or raw SQL.","skillfed_tags":["clickhouse","orm","analytics"],"use_cases":["Define ClickHouse table schemas as Python classes and create tables programmatically without raw DDL.","Bulk insert time-series or event data into ClickHouse from Python applications.","Query ClickHouse tables using a Python query builder instead of writing SQL strings directly.","Map ClickHouse query results back to typed Python model instances for easier data handling.","Prototype or migrate analytics workloads that use ClickHouse as the backend."],"what_it_does":"infi.clickhouse_orm is a lightweight Python ORM for ClickHouse, a columnar analytics database. It provides a declarative model system where you define table schemas as Python classes with typed fields (DateTimeField, UInt16Field, Float32Field, etc.), then insert and query data through a Python API. The package handles the connection to ClickHouse, table creation, bulk inserts, and result mapping back to model instances.\n\nYou can query using a fluent query builder (filter, aggregate, count) or drop into raw SQL when needed. The example in the documentation shows defining a CPU statistics model, collecting data in a loop, and then analyzing it with both query-builder and aggregation patterns. It has no external runtime dependencies, making installation straightforward, but the project has been dormant since 2022-11-29, so compatibility with recent ClickHouse versions or Python releases is not guaranteed.","worth_installing":"Yes, if you are actively using ClickHouse and prefer a Python ORM interface over raw SQL or another client library. The low install friction and permissive license are advantages. However, dormant maintenance since 2022-11-29 is a real concern\u2014verify that it works with your ClickHouse server version and Python release before committing to it in production."},"id":"infi-clickhouse-orm","links":{"html":"https://skillfed.io/packages/infi-clickhouse-orm","md":"https://skillfed.io/packages/infi-clickhouse-orm.md","pypi":"https://pypi.org/project/infi-clickhouse-orm/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-11-29","license_spdx":null,"license_treatment":"permissive","name":"infi.clickhouse-orm","python_support":"unspecified","summary":"A Python library for working with the ClickHouse database"},"popularity":{"monthly_downloads":260404,"position":8396,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.3"}
