High-performance web apps with FastAPI [electronic resource] : the asynchronous web framework based on modern Python / Malhar Lathkar.
2023
QA76.76.A65
Formats
| Format | |
|---|---|
| BibTeX | |
| MARCXML | |
| TextMARC | |
| MARC | |
| DublinCore | |
| EndNote | |
| NLM | |
| RefWorks | |
| RIS |
Cite
Citation
Linked e-resources
Linked Resource
Concurrent users
Unlimited
Authorized users
Authorized users
Document Delivery Supplied
Can lend chapters, not whole ebooks
Details
Title
High-performance web apps with FastAPI [electronic resource] : the asynchronous web framework based on modern Python / Malhar Lathkar.
Author
ISBN
9781484291788 (electronic bk.)
1484291786 (electronic bk.)
1484291778
9781484291771
1484291786 (electronic bk.)
1484291778
9781484291771
Published
[Place of publication not identified] : Apress, 2023.
Language
English
Description
1 online resource
Item Number
10.1007/978-1-4842-9178-8 doi
Call Number
QA76.76.A65
Dewey Decimal Classification
006.7/8
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 also covered 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 What You'll Learn 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 Who This Book Is For Aspiring and the experienced Python developers looking to leverage the flexibility of Python and the powerful features introduced in Modern Python. Computer science Engineering students at graduate and postgraduate level will also benefit immensely from the practical approach adapted in the book.
Access Note
Access limited to authorized users.
Available in Other Form
Print version: 9781484291771
Linked Resources
Record Appears in
Table of 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.
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.