Menu
Your Cart

利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社

利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
利用FastAPI构建Python微服务9787302**4866[美]舍温*约翰*C.特拉古拉清华大学出版社
US$35.99
  • Aktie: 100
  • Modell: 10149177878697
  • Gewicht: 1.00kg
  • Abmessungen: 25.00cm x 10.00cm x 1.50cm

How to Order & Pay

Shipping: Free Shipping & Customs Tax included are subject to change, please refer to the quote you received.

Delivery: Accurate and precise order tracking. Learn more

Package Safety: Refund for your damaged or lost package. Learn more

Payments:


Shop with confidence

Inspect item by item, verify, conduct quality checks, and upload authentic photos of the products.

Consolidate and repackage all items to reduce international logistics costs and facilitate international transportation.

Our customer service is always here if you need help. Click here to chat with us or Chat on WhatsApp

Please log in to view detailed product descriptions and select product options.

利用FastAPI构建Python微服务

 作  者 : [美]舍温·约翰·C.特拉古拉

 出  版  社 : 清华大学出版社

 ISBN 号 : 9787302644866

 出版日期 : 2023年9月

 版  次 : 1

 装  帧 : 平装

 开  本 : 16开

《利用FastAPI构建Python微服务》详细阐述了与分布式机器学习相关的基本解决方案,主要包括设置 FastAPI,探索核心功能,依赖注入研究,构建微服务应用程序,连接到关系数据库,使用非关系数据库,保护REST API的安全,创建协程、事件和消息驱动的事务,利用其他高级功能,解决数值、符号和图形问题,添加其他微服务功能等内容。此外,本书还提供了相应的示例、代码,以帮助读者进一步理解相关方案的实现过程。

舍温*amp;middot;约翰*amp;middot;C.特拉古拉是J**a、ASP.NET MVC和Python应用程序方面的主题专家,并且还具有一些前端框架背景。他管理着一个开发团队来构建与制造和固定资产、文档管理、记录管理、***以及库存系统相关的各种应用程序。作为顾问,他拥有构建实验室信息管理系统(laboratory information management system,LIMS)和混合移动应用程序的背景。自2010年以来,他还为Python、Django、Flask、Jakarta EE、C#、ASP.NET MVC、JSF、J**a和一些前端框架的课程提供企业新人培训服务。他撰写了Spring MVC Blueprints和Spring 5 Cookbook之类的书籍,另外还发布了Packt视频Modern J**a Web Applications with Spring Boot 2.x。

  • **篇*nbsp; 与FastAPI微服务开发应用相关的架构概念
  • **章*nbsp; 设置FastAPI 3
  • 1.1*nbsp; 技术要求 3
  • 1.2*nbsp; 设置开发环境 4
  • 1.3*nbsp; 初始化和配置FastAPI 5
  • 1.4*nbsp; 设计和实现REST API 6
  • 1.5*nbsp; 管理用户请求和服务器响应 9
  • 1.5.1*nbsp; 参数类型声明 9
  • 1.5.2*nbsp; 路径参数 10
  • 1.5.3*nbsp; 查询参数 12
  • 1.5.4*nbsp; 默认参数 13
  • 1.5.5*nbsp; 可选参数 14
  • 1.5.6*nbsp; 混合所有类型的参数 16
  • 1.5.7*nbsp; 请求正文 16
  • 1.5.8*nbsp; 请求标头 19
  • 1.5.9*nbsp; 响应数据 20
  • 1.6*nbsp; 处理表单参数 21
  • 1.7*nbsp; 管理cookie 22
  • 1.8*nbsp; 小结 23
  • 第2章*nbsp; 探索核心功能 25
  • 2.1*nbsp; 技术要求 25
  • 2.2*nbsp; 构建和组织大型项目 26
  • 2.2.1*nbsp; 实现API服务 27
  • 2.2.2*nbsp; 导入模块组件 28
  • 2.2.3*nbsp; 实现新的main.py文件 29
  • 2.3*nbsp; 管理与API相关的异常 30
  • 2.3.1*nbsp; 单个状态代码响应 30
  • 2.3.2*nbsp; 多个状态代码 32
  • 2.3.3*nbsp; 引发HTTPException 33
  • 2.3.4*nbsp; 自定义异常 34
  • 2.3.5*nbsp; 默认处理程序覆盖 36
  • 2.4*nbsp; 将对象转换为与JSON兼容的类型 37
  • 2.5*nbsp; 管理API响应 38
  • 2.6*nbsp; 创建后台进程 40
  • 2.7*nbsp; 使用异步路径操作 42
  • 2.8*nbsp; 应用中间件以过滤路径操作 43
  • 2.9*nbsp; 小结 45
  • 第3章*nbsp; 依赖注入研究 47
  • 3.1*nbsp; 技术要求 47
  • 3.2*nbsp; 应用控制反转和依赖注入 48
  • 3.2.1*nbsp; 注入依赖函数 49
  • 3.2.2*nbsp; 注入可调用的类 50
  • 3.2.3*nbsp; 构建嵌套依赖关系 51
  • 3.2.4*nbsp; 缓存依赖项 53
  • 3.2.5*nbsp; 声明Depends()参数类型 54
  • 3.2.6*nbsp; 注入异步依赖项 55
  • 3.3*nbsp; 探索注入依赖项的方法 55
  • 3.3.1*nbsp; 在服务参数列表上发生的依赖注入 55
  • 3.3.2*nbsp; 在路径运算符中发生的依赖注入 56
  • 3.3.3*nbsp; 针对路由器的依赖注入 57
  • 3.3.4*nbsp; 针对main.py的依赖注入 60
  • 3.4*nbsp; 基于依赖关系组织项目 61
  • 3.4.1*nbsp; 模型层 62
  • 3.4.2*nbsp; 存储库层 63
  • 3.4.3*nbsp; 存储库工厂方法 65
  • 3.4.4*nbsp; 服务层 65
  • 3.4.5*nbsp; REST API和服务层 66
  • 3.4.6*nbsp; 实际项目结构 67
  • 3.5*nbsp; 使用第三方容器 67
  • 3.5.1*nbsp; 使用可配置容器—Dependency Injector 68
  • 3.5.2*nbsp; 使用Lagom模块 72
  • 3.5.3*nbsp; FastAPI和Lagom集成 72
  • 3.6*nbsp; 可依赖项的范围 73
  • 3.7*nbsp; 小结 74
  • 第4章*nbsp; 构建微服务应用程序 75
  • 4.1*nbsp; 技术要求 75
  • 4.2*nbsp; 应用分解模式 76
  • 4.2.1*nbsp; 按业务单元分解 76
  • 4.2.2*nbsp; 创建子应用程序 78
  • 4.3*nbsp; 挂载子模块 79
  • 4.4*nbsp; 创建通用网关 80
  • 4.5*nbsp; 实现主端点 80
  • 4.6*nbsp; 评估微服务ID 81
  • 4.7*nbsp; 应用异常处理程序 82
  • 4.8*nbsp; 集中日志记录机制 83
  • 4.8.1*nbsp; 微服务架构可能面临的日志问题 83
  • 4.8.2*nbsp; 使用Loguru模块 84
  • 4.9*nbsp; 构建日志中间件 85
  • 4.9.1*nbsp; 中间件实现示例 86
  • 4.9.2*nbsp; 使用REST API服务 88
  • 4.10*nbsp; 使用httpx模块 88
  • 4.11*nbsp; 使用requests模块 90
  • 4.12*nbsp; 应用领域建模方法 91
  • 4.13*nbsp; 创建层 92
  • 4.14*nbsp; 识别领域模型 92
  • 4.15*nbsp; 构建存储库层和服务层 94
  • 4.15.1*nbsp; 存储库层模式 94
  • 4.15.2*nbsp; 服务层模式 96
  • 4.15.3*nbsp; 使用工厂方法模式 97
  • 4.16*nbsp; 管理微服务的配置细节 97
  • 4.16.1*nbsp; 将设置存储为类属性 98
  • 4.16.2*nbsp; 在属性文件中存储设置 99
  • 4.17*nbsp; 小结 101
  • 第2篇*nbsp; 以数据为中心的微服务和专注于通信的微服务
  • 第5章*nbsp; 连接到关系数据库 105
  • 5.1*nbsp; 技术要求 106
  • 5.2*nbsp; 准备数据库连接 106
  • 5.3*nbsp; 使用SQLAlchemy创建同步CRUD事务 107
  • 5.3.1*nbsp; 安装数据库驱动程序 108
  • 5.3.2*nbsp; 设置数据库连接 108
  • 5.3.3*nbsp; 初始化会话工厂 109
  • ......

Weitere Hilfeoptionen

1. Bitte klicken Sie auf HILFE, um weitere Informationen zu erhalten.

2. Kontaktieren Sie uns unter [email protected]

3. Chatten Sie mit uns or Über WhatsApp chatten

Tipps zur Reduzierung der Versandkosten

1)Entfernen Sie die Originalverpackung, zum Beispiel, wenn Sie ein Paar Schuhe kaufen, können Sie den Schuhkarton weglassen, was viel beim Volumengewicht spart.

2)Die Versandkosten werden normalerweise pro 0,5KG berechnet. Wenn Sie also ein Produkt kaufen, das nur 0,1KG wiegt, sollten Sie in Erwägung ziehen, 2-3 Stück auf einmal zu kaufen, was die Versandkosten für Ihre Bestellung nicht erhöht.

Volumengewicht

Das Volumengewicht bezieht sich auf die Gesamtgröße eines Pakets und wird in Volumen-Kilogramm gemessen. Das Volumengewicht kann berechnet werden, indem man die Länge, Breite und Höhe eines Pakets (in cm) multipliziert und diese Zahl durch 5000 teilt (einige Spediteure verwenden einen Divisor von 6000/7000 usw.).

Volumetric Weight

Verbotene Artikel (aber nicht beschränkt) für den internationalen Versand,

  • cigarette Zigarette
  • alcohol Alkohol
  • liquid Flüssigkeit
  • knife-scissor Messer/Schere
  • toy-gun Spielzeugpistole
  • seeds Samen
  • animals Lebende Tiere
  • flowers Echte Blumen

Die folgenden Artikel (aber nicht beschränkt) dürfen möglicherweise nur mit bestimmten Logistiklinien verschickt werden.,

  • cream Creme
  • cosmetics Kosmetik
  • snacks Snacks
  • medicine Medizin
Women's Clothing (Coats & Jackets, Dresses, T-Shirts, Tops, Suits)
Standard Size
China (cm) 160-165/84-86 165-170 / 88-90 167-172 / 92-96 168-173 / 98-102 170-176 / 106-110
International XS S M L XL
USA 2 4-6 8-10 12-14 16-18
Europe 34 34-36 38-40 42 44
Bra - Under bust
Standard Size
China
(cm)
76.2 81.3 86.4 91.5 96.5 101.6 106.7 112 117 122 127 132 137 142
USA 30 32 34 36 38 40 42 44 46 48 50 52 54 56
UK 30 32 34 36 38 40 42 44 46 48 50 52 54 56
Europe   70 75 80 85 90                
France   85 90 95 100 105                
Italy   1 2 3 4 5                
Bra - Cup size
Standard Size
China A B C D E                  
USA AA A B C D DD DDD/E F FF G GG H HH J
UK AA A B C D DD E F FF G GG H HH J
Europe AA A B C D E F              
France AA A B C D E F              
Italy   B B/none C D DD E F            
Women's Underwear
Standard Size
China S M L XL XXL XXXL
International XS S M L XL XXL
USA 2 4 6 8 10 12
UK 6 8 10 12 14 16
Europe 32 34 36 38 40 42
France 34 36 38 40 42 44
Italy 38 40 42 44 46 48
Women's Shoes
Standard Size
Length (cm) 22.8 23.1 23.5 24.1 24.5 25.1 25.7 26 26.7 27.3 27.9 28.6 29.2
China 35.5 36 37 38 39 40 41.5 42 43 44.5 46 47 48
USA 5 5.5 6 7 7.5 8.5 9.5 10 10.5 12 13 14 15.5
UK 2.5 3 3.5 4.5 5 6 7 7.5 8 9.5 10.5 11.5 13
Europe 35 35.5 36 37.5 38 39 41 42 43 44 45 46.5 48.5
Men's Clothing (Coats & Jacketst,T-Shirts,Suits)
Standard Size
China (cm) 165 / 88-90 170 / 96-98 175 / 108-110 180 / 118-122 185 / 126-130
International S M L XL XXL
Men's Clothing (Shirts)
Standard Size
China (cm) 36 - 37 38 - 39 40 - 42 43 - 44 45 - 47
International S M L XL XXL
Men's Clothing (Pants)
Size (cm) 42 44 46 48 50
Waist (cm) 68 - 72 cm 71 - 76 cm 75 - 80 cm 79 - 84 cm 83 - 88 cm
Outseam (cm) 99 cm 101.5 cm 104 cm 106.5 cm 109 cm
Men's Underwear
Standard Size
China(cm) 72-76 76-81 81-87 87-93 93-98
International S M L XL XXL
USA(inch) 28-30 30-32 32-34 34-38 38-42
Men's Shoes
Standard Size
Length(cm) 24.5 25.1 25.7 26 26.7 27 27.6 28.3 28.6 28.9
China 39.5 41 42 43 44 44.5 46 47 47.5 48
USA 6 7 8 8.5 9.5 10 11 12 12.5 13
UK 5.5 6.5 7.5 8 9 9.5 10.5 11.5 12 12.5
Europe 38 39 41 42 43.5 44 45 46 46.5 47
长度Length
Imperial英制 Meric公制
1 inch[in] 英寸 ---- 2.54 cm 厘米
1 foot[ft] 英尺 12 in 英寸 0.03048 m 米
1 yard[yd] 码 3 ft 英尺 0.9144 m 米
1 mile[mi] 英里 1760 yd 码 1.6093 km 千米
1 int nautical mile[inm] 海里 2025.4 yd 码 1.853 km 千米
面积Area
Imperial英制 Meric公制
1 sq inch[in2] 平方英寸 ---- 6.4516 cm2 平方厘米
1 sq foot[ft2] 平方英尺 144 in2 平方英寸 0.0929 m2 平方米
1 sq yard[yd2] 平方码 9 ft2 平方英尺 0.8361 m2 平方米
1 acre 英亩 4840 yd2 平方码 4046.9 m2 平方米
1 sql mile[mile2] 平方英里 640 acre 英亩 2.59 km2 平方千米
体积/容量Volume/Capacity
Imperial英制 Meric公制
1 fluid ounce 液量蛊司 1.048 UK fl oz 英制液量蛊司 29.574 ml 毫升
1 pint(16 fl oz 液量品脱)品脱 0.8327 UK pt 英制品脱 0.4731 l 升
1 gallon 加仑 0.8327 UK gal 英制加仑 3.7854 l 升
重量Weight
Imperial英制 Meric公制
1 ounce[oz]蛊司 437.5 grain 格令 28.35 g 克
1 pound[lb]磅 16 oz 蛊司 0.4536 kg 千克
1 stone 石 14 lb 磅 6.3503 kg 千克
1 hundredweight[cwt] 英担 112 lb 磅 50.802 kg 千克
1 long ton(UK) 长顿 20 cwt 英担 1.061 t 顿