コース概要

Introduction

  • FastAPI vs Django vs Flask
  • Overview of FastAPI features and advantages

Getting Started

  • Installing FastAPI
  • Defining a schema using OpenAPI

Path and Query Parameters

  • Declaring path parameter types
  • Parsing and validating data
  • Declaring required and optional parameters
  • Converting query parameter types
  • Multiple path and query parameters

Declaring a Request Body with Pydantic Models

  • Creating a data model
  • Combining path, query, and body parameters
  • Declaring validations and metadata
  • Using deeply nested models
  • Defining example data
  • Response and extra models

Defining Forms and Files

  • Using form fields instead of JSON
  • Creating file parameters
  • Using file and form parameters

Handling Errors

  • Using HTTPException
  • Adding custom headers
  • Installing custom exception handlers
  • Overriding default exception handlers

Working with Databases

  • ORMs and file structure
  • Creating SQLAlchemy parts
  • Creating database models
  • Creating Pydantic models
  • Performing CRUD operations
  • Creating tables, dependency, and path operations
  • Reviewing and checking files
  • Interacting with the database

Security and Authentication

  • Using Oauth2 and OpenID connect
  • Defining multiple security schemes with OpenAPI
  • Using the FastAPI utilities

Deployments

  • Deployment concepts, stages, and tools
  • Working with Gunicorn and Uvicorn
  • Using container systems (Docker and Kubernetes)

Troubleshooting

Summary and Next Steps

要求

  • An understanding of API concepts
  • Python programming experience

Audience

  • Developers
 14 時間

参加者の人数



Price per participant

お客様の声 (1)

関連コース

FARM (FastAPI, React, and MongoDB) Full Stack Development

14 時間

Introduction to Data Science and AI using Python

35 時間

Algorithmic Trading with Python and R

14 時間

Anomaly Detection with Python and R

14 時間

Applied AI from Scratch in Python

28 時間

ArcGIS with Python Scripting

14 時間

BDD with Python and Behave

7 時間

Bioinformatics with Biopython

14 時間

Building Chatbots in Python

21 時間

Continuous Integration / Continuous Delivery (CI/CD) with Python

14 時間

GPU Programming with CUDA and Python

14 時間

Data Mining with Python

14 時間

Deep Learning for Banking (with Python)

28 時間

Deep Learning for Finance (with Python)

28 時間

Deep Learning for Telecom (with Python)

28 時間

関連カテゴリー