<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/on-fastapi-hsy6zvkdm" -->

---
title: On FastAPI | daily.dev
description: FastAPI is a Python web framework that builds on the strengths of Django and Flask while feeling more modern and adhering to certain opinionated principles. It...
canonical: https://daily.dev/posts/on-fastapi-hsy6zvkdm
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: On FastAPI | daily.dev
og:description: FastAPI is a Python web framework that builds on the strengths of Django and Flask while feeling more modern and adhering to certain opinionated principles. It...
og:url: https://daily.dev/posts/on-fastapi-hsy6zvkdm
og:image: https://api.daily.dev/og/posts/hSY6ZvkDM.png
og:image:alt: On FastAPI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# On FastAPI

**[Planet Python](https://daily.dev/sources/planetpython)** · 4 min read · 32 upvotes · 4 comments

## Summary

FastAPI is a Python web framework that builds on the strengths of Django and Flask while feeling more modern and adhering to certain opinionated principles. It has excellent documentation, includes Swagger UI and Redoc out-of-the-box, and heavily depends on Pydantic for data schemas and validation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://greenash.net.au/thoughts/2024/04/on-fastapi/>

## Community discussion

Top comments from developers on daily.dev.

**@ham00d** · 1 upvotes

> interesting

**@alexterieur** · 0 upvotes

> Insightful.

**@saif20** · 0 upvotes

> nice

**@ghost** · 0 upvotes

> Personally, I do prefer flask and django, but from what I have see fastAPI is also pretty good.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#openapi](https://daily.dev/tags/openapi), [#fastapi](https://daily.dev/tags/fastapi)

[View this post on daily.dev](https://daily.dev/posts/on-fastapi-hsy6zvkdm)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"On FastAPI","url":"https://daily.dev/posts/on-fastapi-hsy6zvkdm","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/on-fastapi-hsy6zvkdm"},"datePublished":"2024-04-28T04:45:29.090Z","dateModified":"2024-05-09T09:30:38.138Z","description":"FastAPI is a Python web framework that builds on the strengths of Django and Flask while feeling more modern and adhering to certain opinionated principles. It...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fe65c9587919885918e1b099c0d01c74?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fe65c9587919885918e1b099c0d01c74?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Planet Python","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Planet Python","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/eac3cc584cb043b5a242d13752bd3d0c","url":"https://daily.dev/sources/planetpython"},"commentCount":4,"discussionUrl":"https://daily.dev/posts/on-fastapi-hsy6zvkdm","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":32},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":4}],"keywords":"python,openapi,fastapi","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Planet Python","item":"https://daily.dev/sources/planetpython"},{"@type":"ListItem","position":3,"name":"On FastAPI"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/on-fastapi-hsy6zvkdm","comment":[{"@type":"Comment","text":"interesting","datePublished":"2024-05-01T17:46:23.932Z","url":"https://daily.dev/posts/hSY6ZvkDM#c-UsKQtTHS0","author":{"@type":"Person","name":"Ham00d","url":"https://daily.dev/ham00d","image":"https://lh3.googleusercontent.com/a/ACg8ocIH71ZiZKr6ibvxoe7M2lEITsZn9qaDn1O_lC3ojMBFd5qMyw=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Insightful.","datePublished":"2024-04-28T09:18:26.578Z","url":"https://daily.dev/posts/hSY6ZvkDM#c-U4zhwBqYD","author":{"@type":"Person","name":"Alex","url":"https://daily.dev/alexterieur","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile"}},{"@type":"Comment","text":"nice","datePublished":"2024-05-02T06:30:52.680Z","url":"https://daily.dev/posts/hSY6ZvkDM#c-b6u1RNwtZ","author":{"@type":"Person","name":"saif","url":"https://daily.dev/saif20","image":"https://lh3.googleusercontent.com/a/ACg8ocLLqjn52E07hUJfjzbH0S-vHyn2BTWSV0ASx4PKRlUuNkM=s96-c"}},{"@type":"Comment","text":"Personally, I do prefer flask and django, but from what I have see fastAPI is also pretty good.","datePublished":"2024-05-07T03:00:47.675Z","url":"https://daily.dev/posts/hSY6ZvkDM#c-EbNXB72vg","author":{"@type":"Person","name":"Deleted user","url":"https://daily.dev/ghost","image":"https://media.daily.dev/image/upload/s--hNIUzLiO--/f_auto/v1705327420/public/ghost_vlftth"}}]}
```

