Installation

Python Version

Clickhouse-sqlalchemy supports Python 2.7 and newer.

Dependencies

These distributions will be installed automatically when installing clickhouse-sqlalchemy:

  • clickhouse-driver ClickHouse Python Driver with native (TCP) interface support.

  • requests a simple and elegant HTTP library.

  • ipaddress backport ipaddress module.

  • asynch An asyncio ClickHouse Python Driver with native (TCP) interface support.

If you are planning to use clickhouse-driver with compression you should also install compression extras as well. See clickhouse-driver documentation.

Installation from PyPI

The package can be installed using pip:

pip install clickhouse-sqlalchemy

Installation from github

Development version can be installed directly from github:

pip install git+https://github.com/xzkostyan/clickhouse-sqlalchemy@master#egg=clickhouse-sqlalchemy