Logo
☆☆☆☆☆
0.0
Intermediate
2h 30m

使用 Python 构建 REST API 并部署到 Microsoft Azure

在本课程中,你将学习如何使用 Python 的轻量级 Web 框架 FastAPI 构建 REST API。你将掌握 FastAPI 的基础知识,并学习如何在 Python API 中实现并行处理。 最后,你将把 API 部署到 Microsoft Azure,并使用 GitHub 构建持续集成/持续交付(CI/CD)流水线。

8 Lessons
Included in Subscription Plan
Personalized Learning
Powered by AI
使用 Python 构建 REST API 并部署到 Microsoft Azure
在本课程中,你将学习如何使用 Python 的轻量级 Web 框架 FastAPI 构建 REST API。你将掌握 FastAPI 的基础知识,并学习如何在 Python API 中实现并行处理。 最后,你将把 API 部署到 Microsoft Azure,并使用 GitHub 构建持续集成/...

WHAT YOU'LL LEARN

理解 API 的概念

Content

8 Lessons • 0 Quizzes • 0 Challenges

课程概览
  1. 1

    课程简介

Python中API的构建模块
  1. 1

    REST API 简介

  2. 2

    请求与响应的结构

  3. 3

    同步与异步网页应用

  4. 4

    并发与并行编程

  5. 5

    Python中的异步编程:async/await

  6. 6

    Python中的并发编程

附录
  1. 1

    如何安装 FastAPI

  2. 2

    如何安装 Tesseract 和 Pytesseract

学习 FastAPI 的基础知识
  1. 1

    FastAPI 简介

  2. 2

    使用 FastAPI 创建第一个应用

  3. 3

    交互式 API 文档 - FastAPI 的特性

  4. 4

    FastAPI 中的路径参数

  5. 5

    FastAPI 中的查询参数

  6. 6

    FastAPI 中的默认参数和可选查询参数

  7. 7

    FastAPI 中的请求体(Request Body)

  8. 8

    在 FastAPI 中实现后台任务

  9. 9

    使用并行处理实现 API

  10. 10

    FastAPI 测验

使用 Tesseract 的光学字符识别 API - 项目 1
  1. 1

    Tesseract 和 Pytesseract 用于光学字符识别

  2. 2

    使用 Python 进行光学字符识别(OCR)

  3. 3

    使用 FastAPI 实现 OCR API - 1

  4. 4

    使用 FastAPI 实现 OCR API - 2

  5. 5

    使用 FastAPI 实现 OCR API - 3

云服务与微软 Azure 服务
  1. 1

    云计算入门

  2. 2

    微软Azure简介及其基本术语

  3. 3

    Azure 应用服务

  4. 4

    Azure 认知服务

  5. 5

    Azure 应用程序洞察

  6. 6

    基本 Git 命令

  7. 7

    云计算与微软Azure测验

使用 Azure Cognitive Services 的文本分析 API - 项目 2
  1. 1

    Azure 文本分析认知 API

  2. 2

    对文本进行情感分析和关键词提取

  3. 3

    实现 Azure 文本分析服务 - 1

  4. 4

    实现 Azure 文本分析服务 - 2

在 Microsoft Azure 上部署 REST API
  1. 1

    将 API 推送到 GitHub

  2. 2

    创建应用服务并连接 GitHub 实现持续集成与持续部署

  3. 3

    检查 GitHub Actions 并测试应用服务

  4. 4

    创建 Application Insights 资源

  5. 5

    使用 Application Insights 实现 API 的日志记录

  6. 6

    在应用洞察中查看日志

  7. 7

    检查 CI/CD 流水线并测试最终的 API

  8. 8

    总结

Certificate of Completion

Showcase your accomplishment by sharing your certificate of completion.

Course Author:Anonymous User

Reviews

Read reviews from students who have taken this course and share your own experience.

Reviews & Comments (0)