Saltar al contenido principal
InicioProgramming

Introduction to FastAPI

Build robust, production-grade APIs with FastAPI, mastering HTTP operations, validation, and async execution to create efficient data and ML pipelines.

Comienza El Curso Gratis
4 horas10 vídeos29 ejercicios

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.
Group

¿Entrenar a 2 o más personas?

Probar DataCamp for Business

Preferido por estudiantes en miles de empresas


Descripción del curso

Introduction to FastAPI and Its Applications

APIs are commonly used to manage data on the web, and FastAPI is a popular new web framework for building APIs with Python. Data and Machine Learning Engineers leverage FastAPI to build applications that serve as context-aware data transactions and pipelines on the web.

Building Production-Grade Web Applications with FastAPI

In this course, you will learn how to build production-grade web applications leveraging your Python skills with the FastAPI framework. By the end, you’ll understand core use cases for FastAPI in relation to other Python web frameworks. You’ll learn to build APIs using all four types of HTTP operations and define request and response schemas. In addition, you’ll validate API requests, respond with appropriate HTTP status codes and messages, and execute code asynchronously to improve application performance. A hands-on project will guide you through building a classical CRUD (Create, Read, Update, Delete) API, testing workflows using Python's requests module.

Course Goals and Target Audience

This course is designed for experienced Python programmers who want to build web applications that manage data using FastAPI. Upon completing this course, you will have the foundation necessary to create FastAPI projects suited for high-throughput data management and ML model-serving pipelines.
Empresas

¿Entrenar a 2 o más personas?

Obtén a tu equipo acceso a la plataforma DataCamp completa, incluidas todas las funciones.
DataCamp Para EmpresasPara obtener una solución a medida, reserve una demostración.

En las siguientes pistas

Construir APIs en Python

Ir a la pista
  1. 1

    FastAPI Basics

    Gratuito

    We’ll start by learning FastAPI’s key features and core use cases. Then we will run our first application and test it out! Finally, we will learn the details of supporting GET and POST operations that include request parameters and build and test those endpoints.

    Reproducir Capítulo Ahora
    Why FastAPI?
    50 xp
    First application
    100 xp
    FastAPI vs. Django
    100 xp
    GET operations
    50 xp
    Hello world
    100 xp
    Hello who?
    100 xp
    POST operations
    50 xp
    Pydantic model
    100 xp
    POST operation in action
    100 xp
  2. 2

    FastAPI Advanced topics

    We’ll start by learning how to support PUT and DELETE operations using FastAPI. Then we will learn how to handle different kinds of errors and always return an appropriate status code in the response. Lastly we'll learn how to use async to enable concurrent requests that can handle higher workloads.

    Reproducir Capítulo Ahora
  3. 3

    Building and testing a JSON CRUD API

    We'll start by learning how to write system tests to validate individual FastAPI endpoints. Next we'll build a full JSON CRUD API to manage object lifecycles over HTTP. Finally, we'll learn how to test different application endpoints working together with manual functional tests.

    Reproducir Capítulo Ahora
Empresas

¿Entrenar a 2 o más personas?

Obtén a tu equipo acceso a la plataforma DataCamp completa, incluidas todas las funciones.

En las siguientes pistas

Construir APIs en Python

Ir a la pista

colaboradores

Collaborator's avatar
George Boorman
Collaborator's avatar
Arne Warnke
Collaborator's avatar
Katerina Zahradova

requisitos previos

Introduction to APIs in PythonIntroduction to Object-Oriented Programming in Python
Matt Eckerle HeadshotMatt Eckerle

Software and Data Engineering Leader

Ver Más

¿Qué tienen que decir otros alumnos?

¡Únete a 15 millones de estudiantes y empieza Introduction to FastAPI hoy mismo!

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.