[PR #1209] [CLOSED] Add FastAPI to web frameworks #17119

Closed
opened 2026-05-11 14:12:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1209
Author: @tiangolo
Created: 12/22/2018
Status: ❌ Closed

Base: master ← Head: fastapi


📝 Commits (2)

  • 8b7ee46 Add FastAPI to web frameworks
  • 7929e32 Merge branch 'master' into fastapi

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this project?

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+.

Documentation: https://fastapi.tiangolo.com

Source Code: https://github.com/tiangolo/fastapi

The key features are:

  • Fast: Very high performance, on par with NodeJS and Go (thanks to Starlette and Pydantic).

  • Fast to code: Increase the speed to develop features by about 200% to 300% *.

  • Less bugs: Reduce about 40% of human (developer) induced errors. *

  • Intuitive: Great editor support. Completion everywhere. Less time debugging.

  • Easy: Designed to be easy to use and learn. Less time reading docs.

  • Short: Minimize code duplication. Multiple features from each parameter declaration. Less bugs.

  • Robust: Get production-ready code. With automatic interactive documentation.

  • Standards-based: Based on (and fully compatible with) the open standards for APIs: OpenAPI and JSON Schema.

* estimation based on tests on an internal development team, building production applications.

Why is it awesome?

Apart from the features above, the fact that with simple, standard Python 3.6+ type declarations, you get:

  • Great editor support (completion everywhere and type checks).
  • Data conversion (serialization, parsing).
  • Data validation.
  • Automatic annotations and documentation using OpenAPI and JSON Schema.
  • 2 automatic interactive API documentation user interfaces.

A block of code is worth a thousand words:

from fastapi import FastAPI

app = FastAPI()


@app.get("/")
def read_root():
    return {"Hello": "World"}


@app.get("/items/{item_id}")
def read_item(item_id: int, q: str = None):
    return {"item_id": item_id, "q": q}

And you get this, "for free":

Swagger UI

And the coding experience is great, with completion and type checks everywhere:

editor support

--

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1209 **Author:** [@tiangolo](https://github.com/tiangolo) **Created:** 12/22/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fastapi` --- ### 📝 Commits (2) - [`8b7ee46`](https://github.com/vinta/awesome-python/commit/8b7ee46e05753f66d6230bb97eece0e4d483f651) Add FastAPI to web frameworks - [`7929e32`](https://github.com/vinta/awesome-python/commit/7929e328084f36e19eb97aeed923faa1a5a695f5) Merge branch 'master' into fastapi ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description # What is this project? **FastAPI** is a modern, fast (high-performance), web framework for building APIs with Python 3.6+. **Documentation**: <a href="https://fastapi.tiangolo.com" target="_blank">https://fastapi.tiangolo.com</a> **Source Code**: <a href="https://github.com/tiangolo/fastapi" target="_blank">https://github.com/tiangolo/fastapi</a> The key features are: * **Fast**: Very high performance, on par with **NodeJS** and **Go** (thanks to Starlette and Pydantic). * **Fast to code**: Increase the speed to develop features by about 200% to 300% *. * **Less bugs**: Reduce about 40% of human (developer) induced errors. * * **Intuitive**: Great editor support. <abbr title="also known as auto-complete, autocompletion, IntelliSense">Completion</abbr> everywhere. Less time debugging. * **Easy**: Designed to be easy to use and learn. Less time reading docs. * **Short**: Minimize code duplication. Multiple features from each parameter declaration. Less bugs. * **Robust**: Get production-ready code. With automatic interactive documentation. * **Standards-based**: Based on (and fully compatible with) the open standards for APIs: <a href="https://github.com/OAI/OpenAPI-Specification" target="_blank">OpenAPI</a> and <a href="http://json-schema.org/" target="_blank">JSON Schema</a>. <small>* estimation based on tests on an internal development team, building production applications.</small> # Why is it awesome? Apart from the features above, the fact that with simple, standard Python 3.6+ type declarations, you get: * Great editor support (completion everywhere and type checks). * Data conversion (serialization, parsing). * Data validation. * Automatic annotations and documentation using OpenAPI and JSON Schema. * 2 automatic interactive API documentation user interfaces. A block of code is worth a thousand words: ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str = None): return {"item_id": item_id, "q": q} ``` And you get this, "for free": ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-01-swagger-ui-simple.png) And the coding experience is great, with completion and type checks everywhere: ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png) -- Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-11 14:12:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#17119