E-book details

FastAPI Cookbook. Develop high-performance APIs and web applications with Python

FastAPI Cookbook. Develop high-performance APIs and web applications with Python

Ebook
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.
  • 1. First Steps with FastAPI
  • 2. Working with Data
  • 3. Building RESTful APIs with FastAPI
  • 4. Authentication and Authorization
  • 5. Testing and Debugging FastAPI Applications
  • 6. Integrating FastAPI with SQL Databases
  • 7. Integrating FastAPI with NoSQL Databases
  • 8. Advanced Features and Best Practices
  • 9. Working with WebSockets
  • 10. Integrating FastAPI with other Python Libraries
  • 11. Middleware and Webhooks
  • 12. Deploying and Managing FastAPI Applications
  • Title: FastAPI Cookbook. Develop high-performance APIs and web applications with Python
  • Author: Giunio De Luca, Antonio Ferraro
  • Original title: FastAPI Cookbook. Develop high-performance APIs and web applications with Python
  • ISBN: 9781805129776, 9781805129776
  • Date of issue: 2024-08-02
  • Format: Ebook
  • Item ID: e_3ynr
  • Publisher: Packt Publishing