High-Performance Web Apps with FastAPI: The Asynchronous Web Framework Based on Modern Python
High-Performance Web Apps with FastAPI: The Asynchronous Web Framework Based on Modern Python
YOU SAVE £7.74
- Condition: Brand new
- UK Delivery times: Usually arrives within 2 - 3 working days
- UK Shipping: Fee starts at £2.39. Subject to product weight & dimension
- More about High-Performance Web Apps with FastAPI: The Asynchronous Web Framework Based on Modern Python
This book teaches you how to use Pydantic models to construct request/response objects in a FastAPI path operation, highlighting its auto-generation of API docs and better performance compared to other frameworks. It also covers using jinja2 templates, static assets, Swagger UI, and OpenAPI standards for deployment. It is designed for aspiring and experienced Python developers, computer science engineering students, and anyone looking to build high-performance web apps.
Format: Paperback / softback
Length: 309 pages
Publication date: 28 March 2023
Publisher: APress
This book provides a comprehensive guide to building APIs and web applications based on the Asynchronous Server Gateway Interface (ASGI). It delves into the use of Pydantic models to construct request/response objects in a FastAPI path operation. The book begins by reviewing type hints in Python and asynchronous processing concepts. One of the standout features of FastAPI is its auto-generation of API documentation, which simplifies the process of creating and maintaining accurate documentation for your applications.
The Pydantic library serves as the foundation upon which FastAPI is built, offering robust data validation and serialization capabilities. The book highlights the advantages of ASGI over other popular Python frameworks, as ASGI is asynchronous and offers faster response times compared to synchronous frameworks like Web Server Gateway Interface (WSGI).
The book explores in detail how FastAPI interacts asynchronously with relational and NoSQL databases, enabling efficient data retrieval and manipulation. It also covers the use of template engines, such as Jinja2, for rendering dynamic content in modern web applications. The book emphasizes the importance of adhering to industry standards, such as Swagger UI and OpenAPI, for documenting and exposing APIs.
Furthermore, the book discusses various deployment options for FastAPI applications, including cloud services like Deta and Docker containers, allowing developers to choose the most suitable approach for their specific needs.
Throughout the book, practical examples are used to demonstrate the concepts and techniques discussed. These examples empower readers to build robust and high-performance web applications, deploy them for public availability, and understand the essential building blocks of web applications, including form handling, templating, and database interaction.
This book is designed for aspiring and experienced Python developers who are interested in leveraging the flexibility of Python and the powerful features introduced in modern Python. It is also valuable for computer science engineering students at graduate and postgraduate levels, as it adopts a practical approach tailored to their learning requirements. By following the guidance provided in this book, developers can create efficient and scalable APIs and web applications that meet the demands of modern web applications.
Weight: 510g
Dimension: 235 x 155 (mm)
ISBN-13: 9781484291771
Edition number: 1st ed.
This item can be found in:
UK and International shipping information
UK and International shipping information
UK Delivery and returns information:
- Delivery within 2 - 3 days when ordering in the UK.
- Shipping fee for UK customers from £2.39. Fully tracked shipping service available.
- Returns policy: Return within 30 days of receipt for full refund.
International deliveries:
Shulph Ink now ships to Australia, Belgium, Canada, France, Germany, Ireland, Italy, India, Luxembourg Saudi Arabia, Singapore, Spain, Netherlands, New Zealand, United Arab Emirates, United States of America.
- Delivery times: within 5 - 10 days for international orders.
- Shipping fee: charges vary for overseas orders. Only tracked services are available for most international orders. Some countries have untracked shipping options.
- Customs charges: If ordering to addresses outside the United Kingdom, you may or may not incur additional customs and duties fees during local delivery.