AskReference
ConceptIntroductory

What two third-party Python packages was FastAPI heavily based on according to Ramírez's design?

FastAPI was heavily based on Starlette for web details and Pydantic for data details.

According to the book, Sebastián Ramírez designed FastAPI after carefully investigating alternatives, and his design relied heavily on two third-party Python packages: Starlette for web details and Pydantic for data details. Starlette provided the web framework foundation, while Pydantic was used for data handling and validation.

Key points

  • Starlette: used for web details.
  • Pydantic: used for data details.
  • This design choice came after Ramírez's careful evaluation of alternatives.
Source:FastAPI: Modern Python Web Development· Modern Python· p. 15–41

Related questions

Cover of FastAPI: Modern Python Web Development

FastAPI: Modern Python Web Development

Bill Lubanovic;

First Edition · O'Reilly Media, Inc.

View this ebook