FastAPI Cookbook: Develop high-performance APIs and web applications with Python
商品資訊
ISBN13:9781805127857
出版社:PACKT PUB
作者:Giunio de Luca
出版日:2024/08/02
裝訂:平裝
規格:23.5cm*19.1cm*1.9cm (高/寬/厚)
商品簡介
Enhance your web development skills, from setting up your environment and advanced integrations to building robust, high-traffic web applications with practical, scalable solutions
Key Features:
- Explore FastAPI in depth, from basic setup to advanced features such as custom middleware and WebSockets
- Discover practical strategies to optimize app performance and handle high traffic
- Implement SQL and NoSQL integration techniques for versatile data management in FastAPI applications
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
FastAPI is a cutting-edge Python framework that is revolutionizing the way web apps and APIs are built. Known for its speed, simplicity, and scalability, FastAPI empowers developers to create high-performing applications with ease. This book will help you leverage FastAPI's immense potential to handle high-traffic scenarios and integrate seamlessly with modern Python tools.
The book begins by familiarizing you with the basics of setting up and configuring your FastAPI environment before moving to the intricacies of building RESTful APIs, managing data with SQL and NoSQL databases, and handling authentication and authorization. Next, you'll focus on advanced topics such as custom middleware, WebSocket communication, and integration with various Python libraries. Each chapter is meticulously crafted with practical recipes, progressing from foundational concepts to advanced features and best practices. The concluding chapters show you how to optimize performance, implement rate limiting, and execute background tasks, empowering you to become a proficient FastAPI developer.
By the end of this book, you'll have gained the skills you need to migrate existing apps to FastAPI, and be equipped to tackle any challenge in the modern web development landscape, ensuring your apps are not only functional, but also efficient, secure, and scalable.
What You Will Learn:
- Explore advanced FastAPI functionalities such as dependency injection, custom middleware, and WebSockets
- Discover various types of data storage for powerful app functionality with SQL and NoSQL
- Implement testing and debugging practices for clean, robust code
- Integrate authentication and authorization mechanisms to secure web apps
- Acquire skills to seamlessly migrate existing applications to FastAPI
- Write unit and integration tests, ensuring reliability and security for your apps
- Deploy your FastAPI apps to production environments for real-world use
Who this book is for:
This book is for Python developers looking to enhance their skills to build scalable, high-performance web apps using FastAPI. Professionals seeking practical guidance to create APIs and web apps that can handle significant traffic and scale as needed will also find this book helpful by learning from both foundational insights and advanced techniques. The book is also designed for anyone familiar with RESTful APIs, HTTP protocols, and database systems, as well as developers looking to migrate existing applications to FastAPI or explore its advanced features.
Table of Contents
- First Steps with FastAPI
- Working with Data
- Building RESTful APIs with FastAPI
- Authentication and Authorization
- Testing and Debugging FastAPI Applications
- Integrating FastAPI with SQL Databases
- Integrating FastAPI with NoSQL Databases
- Advanced Features and Best Practices
- Working with WebSockets
- Integrating FastAPI with other Python Libraries
- Middleware and Webhooks
- Deploying and Managing FastAPI Applications
主題書展
更多書展購物須知
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。

