My Account Log in

1 option

High-Performance Web Apps with FastAPI : The Asynchronous Web Framework Based on Modern Python / by Malhar Lathkar.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Lathkar, Malhar, author.
Language:
English
Subjects (All):
Internet programming.
Python (Computer program language).
Web Development.
Python.
Local Subjects:
Web Development.
Python.
Physical Description:
1 online resource (xx, 309 pages) : illustrations
Edition:
1st ed. 2023.
Place of Publication:
Berkeley, CA : Apress : Imprint: Apress, 2023.
Summary:
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.
Contents:
Chapter 1. Introduction to FastAPI
Chapter 2. Installation of FastAPI
Chapter 3. Request Body
Chapter 4. Templates
Chapter 5. Response
Chapter 6. Using Databases
Chapter 7. Middleware
Chapter 8. Testing and Debugging
Chapter 9. Deployment
Chapter 10. Advanced Features.
Notes:
Includes index.
Other Format:
Print version: Lathkar, Malhar High-Performance Web Apps with FastAPI
ISBN:
9781484291788
1484291786
OCLC:
1374428320

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account