Partager
Fr. 84.00
Malhar Lathkar
High-Performance Web Apps with FastAPI - The Asynchronous Web Framework Based on Modern Python
Anglais · Livre de poche
Expédition généralement dans un délai de 6 à 7 semaines
Description
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.
Table des matières
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.
A propos de l'auteur
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 college lecturer, he entered into the software training and development field as an entrepreneur. Over the years, he has gained proficiency in various programming technologies and guided 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 content developer and subject matter expert.
Malhar has written several books that have been published by well-known publishing houses (including one recently published in March 2023 by Apress) Malhar is frequently invited to conduct workshops, deliver talks for the students in various engineering colleges, and as a jury for the inter-collegiate Hackathon competitions organized by AICTE.
In his spare time, Malhar enjoys Indian classical music and keeps a keen eye on all the sporting action around the world.
Résumé
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
- 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
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.
Texte suppl.
“The author’s background in teaching is evident from the clear style of explanation throughout the book, from the overall structure to the numerous examples and helpful annotations as various concepts are introduced. This should be an excellent resource for Python developers wishing to utilize a faster, asynchronous library to develop web APIs.” (Nathan Carlson, Computing Reviews, January 17, 2025)
Commentaire
The author s background in teaching is evident from the clear style of explanation throughout the book, from the overall structure to the numerous examples and helpful annotations as various concepts are introduced. This should be an excellent resource for Python developers wishing to utilize a faster, asynchronous library to develop web APIs. (Nathan Carlson, Computing Reviews, January 17, 2025)
Détails du produit
| Auteurs | Malhar Lathkar |
| Edition | Springer, Berlin |
| Langues | Anglais |
| Format d'édition | Livre de poche |
| Sortie | 01.06.2023 |
| EAN | 9781484291771 |
| ISBN | 978-1-4842-9177-1 |
| Pages | 309 |
| Dimensions | 155 mm x 18 mm x 235 mm |
| Illustrations | XX, 309 p. 103 illus. |
| Catégories |
Sciences naturelles, médecine, informatique, technique
> Informatique, ordinateurs
> Informatique
B, python, Programmier- und Skriptsprachen, allgemein, Web Development, Professional and Applied Computing, Python (Computer program language), Programming and scripting languages: general |
Commentaires des clients
Aucune analyse n'a été rédigée sur cet article pour le moment. Sois le premier à donner ton avis et aide les autres utilisateurs à prendre leur décision d'achat.
Écris un commentaire
Super ou nul ? Donne ton propre avis.