paint-brush
Merging Django ORM with SQLAlchemy for Easier Data Analysisby@djangostars
3,208 reads
3,208 reads

Merging Django ORM with SQLAlchemy for Easier Data Analysis

by Django Stars7mSeptember 21st, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Development of products with Django framework is usually easy and straightforward; great documentation, many tools out of the box, plenty of open source libraries and big community. Django ORM takes full control about SQL layer protecting you from mistakes, and underlying details of queries so you can spend more time on designing and building your application structure in Python code. However, sometimes such behavior may hurt — for example, when you’re building a project related to data analysis. Building advanced queries with Django is not very easy; it’s hard to read (in Python) and hard to understand what’s going on in SQL-level without logging or printing generated SQL queries somewhere. Moreover, such queries could not be efficient enough, so this will hit you back when you load more data into DB to play with. In one moment, you can find yourself doing too much raw SQL through Django cursor, and this is the moment when you should do a break and take a look on another interesting tool, which is placed right between ORM layer and the layer of raw SQL queries.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Merging Django ORM with SQLAlchemy for Easier Data Analysis
Django Stars HackerNoon profile picture
Django Stars

Django Stars

@djangostars

A technical partner for startups and enterprises

Learn More
LEARN MORE ABOUT @DJANGOSTARS'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Django Stars HackerNoon profile picture
Django Stars@djangostars
A technical partner for startups and enterprises

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Pressrush
Bitcoininsider