mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-25 02:23:45 +03:00
893ffaf17c
2. pytz and typing are installed for old python versions only 3. psycopg2-bynary is installed in test environment instead of psycopg2
1.7 KiB
1.7 KiB
Basic information
About
This project's goal is to build Yandex ClickHouse database into Django project.
It is based on infi.clickhouse-orm library.
Features
- Multiple ClickHouse database configuration in settings.py
- ORM to create and manage ClickHouse models.
- ClickHouse migration system.
- Scalable serialization of django model instances to ORM model instances.
- Effective periodical synchronization of django models to ClickHouse without loosing data.
- Synchronization process monitoring.
Requirements
- Python 3
- Django 1.7+
- Yandex ClickHouse
- infi.clickhouse-orm
- pytz for python before 3.3
- typing for python before 3.5
- psycopg2
- celery
- statsd
Optional libraries
- redis-py for RedisStorage
- django-pg-returning for optimizing registering updates in PostgreSQL
- django-pg-bulk-update for performing effective bulk update and create operations in PostgreSQL
Installation
Install via pip:
pip install django-clickhouse
or via setup.py:
python setup.py install