Bis 30.9.2024 gibt es mit dem Code EBOOK20 20% Rabatt auf alle Stämpfli E-Books. Einfach den Rabattcode an der Kasse im entsprechenden Feld eingeben.
Fokusthemen
Publikationen
Services
Autorinnen/Autoren
Verlag
Shop
LEXIA
Zeitschriften
SachbuchLOKISemaphor

High-Performance Web Apps with FastAPI

The Asynchronous Web Framework based on Modern Python

Inhalt

Build APIs and web apps based on Asynchronous Server Gateway Interface (ASGI). This book provides a comprehensive explanation of using Pydantic models to construct the request/response objects in a FASTAPI path operation. 

You’ll start by reviewing type hints in Python and the asynchronous processing concepts. One of the highlights of FastAPI is its auto generation of API docs. Pydantic library is the main pillar on top of which FastAPI is built. You’ll see that ASGI has a far better performance compared to most of the other popular Python frameworks as they implement Web server Gateway Interface (WSGI), which is synchronous in nature and hence having slower response time. 

This book thoroughly explains how FastAPI interacts asynchronously with relational as well as NOSQL databases. Modern web apps use template engines to interact with the front-end. In this book, you will learn to use jinja2 templates and static assets. Swagger UI and OpenAPI standards are alsocovered in detail. Finally, different options of deployment of FastAPI app have been explored in this book. 

 This book uses practical examples to empower you to build high performance APIs

You will:

  • Develop robust and high-performance web apps
  • Deploy the FastAPI app for public availability using cloud services such as Deta and Docker container
  • Understand the important building blocks of a web app such as form handling, templating and database interaction

Bibliografische Angaben

März 2023, 309 Seiten, Englisch
Springer Nature EN
978-1-4842-9177-1

Inhaltsverzeichnis

Schlagworte

Weitere Titel zum Thema