High-Performance Web Apps with FastAPI

The Asynchronous Web Framework Based on Modern Python
Langbeschreibung
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.Yoü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. Yoü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
Hauptbeschreibung
Learn the 'fastest' Python web framework
Inhaltsverzeichnis
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.
Malhar Lathkar is an independent developer, trainer, technical writer and author with over 30 years of experience. He holds a postgraduate degree in Electronics. After a brief stint as a degree college lecturer, he started his own software training and development institute. Over the years, he has gained proficiency in various programming technologies and imparted training to thousands of students and professionals from India and different countries around the world. Malhar also offers software training services to corporates. He has been associated with many EdTech companies as a freelance Subject Matter Expert. He has written a few books that have been published by well-known publishing houses.
ISBN-13:
9781484291771
Veröffentl:
2023
Erscheinungsdatum:
28.03.2023
Seiten:
332
Autor:
Malhar Lathkar
Gewicht:
505 g
Format:
235x155x19 mm
Sprache:
Englisch

64,19 €*

Lieferzeit: Print on Demand - Lieferbar innerhalb von 3-5 Werktageni
Alle Preise inkl. MwSt. | zzgl. Versand