The co-op bookstore for avid readers
Book Cover for: Building Data Science Applications with FastAPI - Second Edition: Develop, manage, and deploy efficient machine learning applications with Python, François Voron

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

François Voron

Learn all the features and best practices of FastAPI to build, deploy, and monitor powerful data science and AI apps, like object detection or image generation.

Purchase of the print or Kindle book includes a free PDF eBook


Key Features:

  • Uncover the secrets of FastAPI, including async I/O, type hinting, and dependency injection
  • Learn to add authentication, authorization, and interaction with databases in a FastAPI backend
  • Develop real-world projects using pre-trained AI models


Book Description:

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.


What You Will Learn:

  • Explore the basics of modern Python and async I/O programming
  • Get to grips with basic and advanced concepts of the FastAPI framework
  • Deploy a performant and reliable web backend for a data science application
  • Integrate common Python data science libraries into a web backend
  • Integrate an object detection algorithm into a FastAPI backend
  • Build a distributed text-to-image AI system with Stable Diffusion
  • Add metrics and logging and learn how to monitor them


Who this book is for:

This book is for data scientists and software developers interested in gaining knowledge of FastAPI and its ecosystem to build data science applications. Basic knowledge of data science and machine learning concepts and how to apply them in Python is recommended.

Book Details

  • Publisher: Packt Publishing
  • Publish Date: Jul 31st, 2023
  • Pages: 422
  • Language: English
  • Edition: undefined - 0002
  • Dimensions: 9.25in - 7.50in - 0.86in - 1.59lb
  • EAN: 9781837632749
  • Categories: Internet - Web Services & APIsData Science - Data Modeling & DesignArtificial Intelligence - General

More books to explore

Book Cover for: Ethical Machines: Your Concise Guide to Totally Unbiased, Transparent, and Respectful AI, Reid Blackman
Book Cover for: The Digital Mindset: What It Really Takes to Thrive in the Age of Data, Algorithms, and AI, Paul Leonardi
Book Cover for: The Book of Why: The New Science of Cause and Effect, Judea Pearl
Book Cover for: Nine Algorithms That Changed the Future: The Ingenious Ideas That Drive Today's Computers, John Maccormick
Book Cover for: Meganets: How Digital Forces Beyond Our Control Commandeer Our Daily Lives and Inner Realities, David B. Auerbach
Book Cover for: You Look Like a Thing and I Love You: How Artificial Intelligence Works and Why It's Making the World a Weirder Place, Janelle Shane
Book Cover for: Genius Makers: The Mavericks Who Brought AI to Google, Facebook, and the World, Cade Metz
Book Cover for: The Sound of the Future: The Coming Age of Voice Technology, Tobias Dengel
Book Cover for: Journey of the Mind: How Thinking Emerged from Chaos, Ogi Ogas
Book Cover for: How Data Happened: A History from the Age of Reason to the Age of Algorithms, Chris Wiggins

About the Author

Voron, François: - François Voron graduated from the University of Saint-Étienne (France) and the University of Alicante (Spain) with a master's degree in machine learning and data mining. A full stack web developer and a data scientist, François has a proven track record working in the SaaS industry, with a special focus on Python backends and REST APIs. He is also the creator and maintainer of FastAPI Users, the #1 authentication library for FastAPI, and is one of the top experts in the FastAPI community.

More books by François Voron

Book Cover for: Building Data Science Applications with FastAPI: Develop, manage, and deploy efficient machine learning applications with Python, François Voron