question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How could I integrate Python django with Clickhouse database?

See original GitHub issue

I’m working on a project with Django and clickhouse. I was wondering how could I integrate them since there is no option for clickhouse in django.db.backends. What should I put in the DATABASE field in setting.py?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
emakarovcommented, Jul 16, 2019

In my experience I created file ‘clickhouse_models.py’ as well as folder ‘clickhouse_migrations’ and implemented several management commands for corresponding needs. Data pipeline is done via necessary scripts as well. (But for recording I mostly use ‘clickhouse_driver’ which supports native protocol

0reactions
linrl3commented, Jul 17, 2019

@emakarov Thank you for your advice. I didn’t work with Django before but I can move forward now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Integration with ClickHouse Connect
ClickHouse Connect is a suite of Python packages providing interoperability with a wide range of Python applications. The three primary components are: A...
Read more >
django-clickhouse - PyPI
Django extension to integrate with ClickHouse database. Navigation. Project description; Release history; Download files. Project links.
Read more >
django-clickhouse - Python Package Health Analysis - Snyk
Django extension to integrate with ClickHouse database. Visit Snyk Advisor to see a full health score report for django-clickhouse, including popularity, ...
Read more >
How to connect to ClickHouse with Python using SQLAlchemy
This tutorial can be tested against any ClickHouse database. However, in order to get a local ClickHouse database to test the integration, ...
Read more >
ClickHouse and Python: Getting to Know the ... - Altinity
This post contains a review of the clickhouse-driver client. It's a solidly engineered module that is easy to use and integrates easily with ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found