E-book details

Building Data Science Applications with FastAPI. Develop, manage, and deploy efficient machine learning applications with Python - Second Edition

Building Data Science Applications with FastAPI. Develop, manage, and deploy efficient machine learning applications with Python - Second Edition

François Voron

Ebook
Building Data Science Applications with FastAPI is the go-to resource for creating efficient and dependable data science API backends. This second edition incorporates the latest Python and FastAPI advancements, along with two new AI projects – a real-time object detection system and a text-to-image generation platform using Stable Diffusion.

The book starts with the basics of FastAPI and modern Python programming. You'll grasp FastAPI's robust dependency injection system, which facilitates seamless database communication, authentication implementation, and ML model integration. As you progress, you'll learn testing and deployment best practices, guaranteeing high-quality, resilient applications.

Throughout the book, you'll build data science applications using FastAPI with the help of projects covering common AI use cases, such as object detection and text-to-image generation. These hands-on experiences will deepen your understanding of using FastAPI in real-world scenarios.

By the end of this book, you'll be well equipped to maintain, design, and monitor applications to meet the highest programming standards using FastAPI, empowering you to create fast and reliable data science API backends with ease while keeping up with the latest advancements.
  • 1. Python Development Environment Setup
  • 2. Python Programming Specificities
  • 3. Developing a RESTful API with FastAPI
  • 4. Managing Pydantic Data Models in FastAPI
  • 5. Dependency Injection in FastAPI
  • 6. Databases and Asynchronous ORMs
  • 7. Managing Authentication and Security in FastAPI
  • 8. Defining WebSockets for Two-Way Interactive Communication in FastAPI
  • 9. Testing an API Asynchronously with pytest and HTTPX
  • 10. Deploying a FastAPI Project
  • 11. Introduction to Data Science in Python
  • 12. Creating an Efficient Prediction API Endpoint with FastAPI
  • 13. Implementing a Real-Time Object Detection System Using WebSockets with FastAPI
  • 14. Creating a Distributed Text-to-Image AI System Using the Stable Diffusion Model
  • 15. Monitoring the Health and Performance of a Data Science System
  • Title: Building Data Science Applications with FastAPI. Develop, manage, and deploy efficient machine learning applications with Python - Second Edition
  • Author: François Voron
  • Original title: Building Data Science Applications with FastAPI. Develop, manage, and deploy efficient machine learning applications with Python - Second Edition
  • ISBN: 9781837637263, 9781837637263
  • Date of issue: 2023-07-31
  • Format: Ebook
  • Item ID: e_3mqi
  • Publisher: Packt Publishing