FastAPI

FastAPI is a Web framework for developing RESTful APIs in Python. FastAPI is based on Pydantic and type hints to validate, serialize, and deserialize data, and automatically auto-generate OpenAPI documents.[3]

FastAPI
Developer(s)Sebastián Ramírez
Initial releaseDecember 5, 2018 (2018-12-05)[1]
Stable release
0.75.2[2]  / 17 April 2022 (17 April 2022)
Repositorygithub.com/tiangolo/fastapi
Written inPython
TypeWeb framework
LicenseMIT
Websitefastapi.tiangolo.com

It fully supports asynchronous programming and can run with Uvicorn and Gunicorn.[4] To improve developer-friendliness, editor support was considered from the earliest days of the project.[5][nb 1]

FastAPI is lighter weight than Django and offers similar features (along with API style) to Flask, but it was built with asynchronicity in mind.

Adoption and real-world usage

FastAPI was the third most loved web framework in Stack Overflow 2021 Developer Survey.[7]

T. Darka stressed its value for data science applications.[8]

It is used by large companies like Uber and Netflix to develop some of their applications.[9][10]

See also

Notes

  1. Then I spent some time designing the developer "API" I wanted to have as a user (as a developer using FastAPI)... All in a way that provided the best development experience for all the developers.[6]

References

  1. "fastapi repo". 2018-12-05.
  2. "Release 0.75.2". 17 April 2022. Retrieved 24 April 2022.
  3. Lubanovic, Bill (2019-11-06). Introducing Python: Modern Computing in Simple Packages (2nd ed.). O'Reilly Media, Inc. pp. 397, 418. ISBN 9781492051367.
  4. Philipp Kats; David Katz (2019-08-30). Learn Python by Building Data Science Applications. Packt Publishing Ltd. pp. 435, 365. ISBN 9781789535365.
  5. "History, Design and Future - FastAPI". Retrieved 4 November 2020.
  6. "/docs/history-design-future.md". Retrieved 1 November 2021.
  7. "Stack Overflow Developer Survey 2021". Stack Overflow. Retrieved 2021-08-25.
  8. Danka, Tivadar (2021-08-17). "You Should Start Using FastAPI Now". Towards Data Science. Retrieved 2021-08-25.
  9. "Ludwig v0.2 Adds New Features and Other Improvements to its Deep Learning Toolbox". Uber Engineering. 2019-07-24. Retrieved 4 November 2020.
  10. "Introducing Dispatch". Netflix Technology Blog. 2020-02-25. Retrieved 4 November 2020.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.