Community程式設計與開發github.com

thebushidocollective/fastapi-async-patterns

在 FastAPI 中使用非同步模式來建構高效能 API。適用於處理並行請求與非同步操作。

fastapi-async-patterns 是什麼?

此技能提供了使用 FastAPI 非同步模式建構高效能 API 的專業知識。它專注於利用 Python 的 `async` 與 `await` 語法來處理並行請求及非同步操作,從而顯著提升應用程式的吞吐量與回應速度。此技能基於標準的 FastAPI 框架,適用於任何支援非同步的 Python 環境,特別適合需要處理大量 I/O 綁定任務的場景,例如資料庫查詢、外部 API 呼叫或檔案操作。透過遵循這些模式,開發人員能夠輕鬆建構可擴展、高回應性的 Web 服務。此技能提供的指南與範例,能幫助使用者避免常見的非同步陷阱,並確保程式碼的清晰與一致性。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/thebushidocollective/han/tree/main/skills/fastapi-async-patterns

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

fastapi-async-patterns 是做什麼的?

使用 FastAPI 非同步模式來建構高效能 API。適用於處理並行請求與非同步操作。

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相關技能