Photo by Pietro Jeng on Unsplash

Django and FastAPI: Introduction

Main differences between Django and FastAPI from a data engineering perspective

Petrica Leuca
6 min readApr 22, 2024

--

Not a Medium member? Use the Friend Link to read this article!

In 2016 I’ve made a switch from building data warehouse pipelines, into building back-end systems in Python. I’ve started with Django and in 2021 I’ve implemented for the first time a FastAPI microservice. Working in parallel with two different frameworks might be a challenge at times, hence this series of articles shedding some light on the main differences between the two, with a focus on data manipulation.

Django

Django is an open source web development framework (can be used for both front-end and back-end), released in 2005 ( Wikipedia). You can read in detail about it on the official page:

FastAPI

FastAPI is an open source web framework, used for back-end development, specifically developing APIs. It was first released in 2018. You can read in detail about it on the official page:

--

--

Petrica Leuca

Well-rounded engineer, bringing data at your fingertips. I am not affiliated with any of the tools or products I write about.