FastAPI
Source: https://github.com/mjhea0/awesome-fastapi at
38e525ea9557
License: CC0-1.0
Read the English original
This edition is an AI-assisted translation.
Awesome FastAPI | 
Section titled “Awesome FastAPI | ”和FastAPI有關
FastAPI 一個現代的高性能的 Python 網絡框架,
第三方擴充功能
Section titled “第三方擴充功能”- FastAdmin - 由Django Admin創作。
- FastAPI Admin - 功能管理面板, 提供使用者介面來執行 CRUD 操作 。 目前只與神龟ORM合作.
- FastAPI Amis Admin - 高性能、高效和容易延伸的 FastAPI 管理框架。
- Piccolo Admin - 使用 Piccolo ORM 的強大而現代的管治使用者介面。
- SQLAlchemy Admin - FastAPI/ Starlette 與 SQLAlchemy 模型合作的管理面板 。
- Starlette Admin - FastAPI/Starlette 的管理框架, 支援 SQLAlchemy, SQLModel, MongoDB 和 ODMantic 。
- AuthX - FastAPI 自訂認證與 Oauth2 管理 。
- FastAPI Auth - 支援 OAuth2 密碼流與 JWT 存取及刷新符號的插件 。
- FastAPI Azure Auth - 您的 API 的 Azure AD 認證, 包含單位及多位租戶支援 。
- FastAPI Casbin Auth - 經過Casbin, 支援 RBAC、 ReBAC 和 ABAC 等各種存取控制模式的授权 。
- FastAPI Cloud Auth - FastAPI 與雲認證服務的簡單整合( AWS CONITO, Auth0, Firebase 認證) 。
- FastAPI Login - 帳戶管理和認證(基于 Flask-Login).
- FastAPI JWT Auth - JWT 憑證( 基于 Flask-JWT-Extended).
- FastAPI Permissions - 行級權限 。
- FastAPI Security - 在 FastAPI 中以依赖性來執行認證與授權 。
- FastAPI Simple Security - 通过路徑操作控制外的 API 金鑰安全 。
- FastAPI Users - 帳號管理 認證 授權
- FastAPI Zitadel Auth - 使用 IAM 平台的 OAuth2 Zitadel.
- FastAPI Guard - 限速、 自動禁用 IP 、 穿透攻擊偵測、 白清單/ 黑清單( 國家、 IP、 云端提供商)、 使用者代理过滤、 地理定位、 Redis 集成等 。
- secure - 在 FastAPI 應用程式中, 使用 ASGI 中件及單個設定物件, 一致地定义及应用 HTTP 安全信頭 。
- Edgy ORM - 複雜的數據庫很簡單
- FastAPI SQLAlchemy - FastAPI 和 FastAPI 的簡單整合 SQLAlchemy.
- Fastapi-SQLA - FastAPI 的 SQLAlchemy 延伸, 支持 pagination, asyncio, 和 pytest 。
- FastAPIwee - 建立 REST API 的簡單方法 PeeWee 模特
- FastSQLA - 使用 SQLModel 支持的 FastAPI 的 Async SQLAlchemy 2.0+ 延伸, 內建 pagination & more 。
- GINO - Python Asyncio 的 SQLAlchemy 核上建的輕量級同步ORM 。
- ORM - 動脈
- ormar - Ormar 是使用 Pydantic 驗證的 Async ORM, 可以直接用在 FastAPI 的請求和回應中, 所以您只剩下一套模型需要維持 。 包括阿倫比克移民。
- FastAPI Example - 使用 FastAPI 與 Orma 。
- Piccolo - 支援 Postgres 和 SQLite 的 Async ORM 與查詢建立器,
- FastAPI Examples - 使用 FastAPI 與 Piccolo 。
- Tortoise ORM - 由 Django 啟發,
- FastAPI Example - Ortoise-ORM FastAPI整合的例子.
- Tutorial: Setting up Tortoise ORM with FastAPI
- Aerich - 神龟ORM移動工具.
- Saffier ORM - 你唯一需要的Python ORM。
- SQLModel - SQLModel( 由 Pydantic 和 SQLAlchemy 提供電源) 是用 Python 碼與 SQL 數據庫互動的函數庫, 有 Python 物件 。
- asyncpgsa - 包裝 asyncpg 用于 SQLAlchemy Core.
- Databases - Async SQL 查詢建立器, 工作於上方 SQLAlchemy Core 表示語言。
- PyPika - SQL 查詢建立器, 顯示 SQL 語言的完全豐富 。
- Beanie - 基于 MongoDB 的同步 Python ODM Motor 和 Pydantic,它支持資料和圖示的移出。
- MongoEngine - 從 Python 與 MongoDB 合作的檔案- Object Mapper( 思考 ORM, 但用于文件資料庫 ) 。
- Motor - MongoDB 同步 Python 驅動程式 。
- ODMantic - Asyncio MongoDB ODM 集成 Pydantic.
- PynamoDB - 是亞馬遜的DynamoDB的熱門介面
- Pydantic-SQLAlchemy - 轉換 SQLAlchemy 模型 Pydantic 模特
- FastAPI-CamelCase - 使用 CamelCase JSON 支援 FastAPI Pydantic.
- CamelCase Models with FastAPI and Pydantic - 作者的部落格文章。
- modern-di - 依附注射框架,IoC容器和瞄准镜 FastAPI integration.
- Wireup - FastAPI 中零运行時程的輸入依賴; 共享依賴於網路、 cli 或其他介面 。
- FastAPI Code Generator - 從 OpenAPI 檔案建立 FastAPI 應用程式, 允許以 chema 驅動發展 。
- FastAPI Client Generator - 從 OpenAPI 區域產生一個 mypy- and IDE 方便的 API 用戶端 。
- FastAPI Cruddy Framework - FastAPI的相伴圖書館旨在將Ruby在 Rails, Ember.
- FastAPI MVC - 製作高质量 FastAPI 製作準備 API 的發展者生产力工具 。
- FastAPI Profiler - FastAPI 的 Joerick/ Pyincument 中端軟件來檢查您的服務性能 。
- FastAPI Versioning - API版本.
- Jupyter Notebook REST API - 將您的 Jupyter 筆記本做為 RESTFL API 的端點 。
- Manage FastAPI - 產生和管理 FastAPI 專案的 CLI 工具 。
- msgpack-asgi - 自動 MessagePack 內容談判。
- python-cqrs - 事件指定架构框架, 包含 CQRS, 交易寄存器, Saga 編號, 無缝 FastAPI/ FastStream 集成 。
- FastAPI Mail - 發送電子郵件及附件( 個人及批量) 的輕量级郵件系統 。
- Apitally - API 分析, 監控, 並要求登入 FastAPI 。
- ASGI Correlation ID - 要求身份記錄中間軟件 。
- FastAPI Cache - 簡單的輕量级缓存系統
- FastAPI Cache - 用于缓存 FastAPI 應答與函數結果的工具, 支援 Redis, Memcached, DynamotB 以及內部後端 。
- FastAPI Chameleon - 將變色龍樣本語言集成到 FastAPI 中 。
- FastAPI CloudEvents - CloudEvents FastAPI 集成 。
- FastAPI Contrib - 觀察套用具: pagination, 认证中間軟件, 權限, 自訂例外處理器, MongoDB 支援, 以及 Opentracting 中間軟件 。
- FastAPI FastCRUD) - 強健的Aync CRUD操作和灵活的端點建立工具。
- FastAPI Events - FastAPI 和 Starlette 的同步事件傳送/處理文庫 。
- FastAPI FeatureFlags - FastAPI 的功能旗號簡單的執行 。
- FastAPI Injectable - 使用 FastAPI 在路由處理器外的依賴注入, 使用 CLI 工具、背景工作、 工人等 。
- FastAPI Jinja - 將 Jinja 樣本語言整合到 FastAPI 中 。
- FastAPI Lazy - 用 FastAPI 啟動您的專案的懶惰套件 。
- FastAPI Limiter - FastAPI 的要求速率限制程式 。
- FastAPI Listing - 設計/ 建築 API 的文庫, 使用基于元件的架构、 內建的查詢 paginator、 排序器、 django- admin 等 。
- FastAPI MQTT - MQTT 协议的延伸 。
- FastAPI Opentracing - FastAPI 開啟追蹤中端軟件與資料庫追蹤支援 。
- FastAPI Pagination - FastAPI 的插座 。
- FastAPI Plugins - Redis 和排程插件 。
- FastAPI ServiceUtils - 建立 API 服務的產生器 。
- FastAPI Shield - 通用 FastAPI 文庫, 用于寫入任何能懶惰依賴性注入的通用端點裝飾器 。
- FastAPI SocketIO - FastAPI 和 SocketIO 的簡單整合 。
- FastAPI Utilities - 重用公用程式: 基于類別的檢視、 反應推測路由器、 周期性工作、 定時中間軟件、 SQLAlchemy 會議、 OpenAPI spec簡化 。
- FastAPI Viewsets - 決哥雷斯特 FastAPI 框架啟動的 ViewSets, 啟動類型的 CRUD 端點組織自動路由登記 。
- FastAPI Websocket Pub/Sub - 經典的酒吧/子公司模式讓網絡上和你的雲面上可以实时地使用,
- FastAPI Websocket RPC - 在Websockets上,
- OpenTelemetry FastAPI Instrumentation - 圖書室提供 FastAPI 網絡框架的自動和手動工具, 用此框架的應用程式所服務的 http 測試 。
- Prerender Python Starlette - Prerender的星座中間軟件
- Prometheus FastAPI Instrumentator - 您的 FastAPI 應用程式的可配置和模擬Prometheus 仪器器 。
- SlowApi - 速率限制器( 基于 Flask-Limiter).
- Starlette Context - 允許您在您的專案的任何地方儲存並存取此要求的資料, 對登入有用 。
- Starlette Exporter - FastAPI和Starlette再集成一次波爾提斯
- Starlette OpenTracing - 開啟Starlette 和 FastAPI 的支援 。
- Starlette Prometheus - FastAPI和Starlette的普羅米修斯集成.
- Strawberry GraphQL - 基于數據類別的 Python GraphQL 文庫 。
- Pydantic Resolve - 將 pydantic 等級轉換成一個強大的 composable 計算容器 , 引入 解析度 和 後处理 的勾結 。
- Documentation - 全面文件。
- Tutorial - 官方教訓您如何使用 FastAPI 及其大部分功能, 一步一步地 。
- Source Code - 主持于GitHub.
- Discord - 和其他 FastAPI 使用者聊天 。
- TestDriven.io FastAPI - 許多FastAPI專題文章,
- Build The Next Generation Of Python Web Applications With FastAPI - 此集 Podcast Init FastAPI的創作人,Sebastián Ramirez 分享他建立FastAPI的動機,
- FastAPI on PythonBytes - 這項工程的概述不錯
- FastAPI has Ruined Flask Forever for Me
- Why we switched from Flask to FastAPI for production machine learning - 仔細看看為什麼你可能想要從弗拉斯克移到FastAPI.
- Async SQLAlchemy with FastAPI - 學著同步使用 SQLAlchemy 。
- Deploy Machine Learning Models with Keras, FastAPI, Redis and Docker
- Developing and Testing an Asynchronous API with FastAPI and Pytest - 使用 Test- Driven 开发並測試 FastAPI、 Postgres、 Pytest 和 Docker 同步 API 。
- FastAPI for Flask Users - 學用 FastAPI 與 Flask 的邊緣代碼比對 。
- FastAPI Session Leak Detection - 分析並修復SQLAlchemy長期會議,
- Implementing FastAPI Services – Abstraction and Separation of Concerns - FastAPI 應用程式及服務結構, 以建立更可維持的代碼基.
- Introducing FARM Stack - FastAPI, React, and MongoDB - 以完整的 FastAPI 網頁應用套件開始 。
- Multitenancy with FastAPI, SQLAlchemy and PostgreSQL - 學習如何讓 FastAPI 應用程式備妥多租戶 。
- Real-time data streaming using FastAPI and WebSockets - 學習如何從 FastAPI 直接流出資料到实时圖表 。
- Running FastAPI applications in production - 使用有系統的Gunicorn來進行生产部署.
- Serving Machine Learning Models with FastAPI in Python - 使用 FastAPI 在 Python 中快速便捷地部署並服務機械學習模型, 作為 RESTful API 。
- Streaming video with FastAPI - 學習如何服務影片流。
- Using Hypothesis and Schemathesis to Test FastAPI - 套用以屬性为基础的測試到 FastAPI 。
- PyConBY 2020: Serve ML models easily with FastAPI - 從塞巴斯蒂安·拉米雷斯(Sebastian Ramirez)的談話中, 你將學會如何輕鬆地為您使用 FastAPI 的 ML 模型建立一個製作準備的網絡(JSON) API, 包括預設的最佳做法。
- PyCon UK 2019: FastAPI from the ground up - 使用 FastAPI 建立簡單的 REST API 資料庫 。
- Building a Stock Screener with FastAPI - 一個用 FastAPI 建立網路股票顯示器, 你會被介紹到 FastAPI 的很多功能, 包括 Pydantic 模型、 依赖性注入、背景工作、 SQLAlchemy 集成 。
- Building Web APIs Using FastAPI - 使用 FastAPI 建立網路應用程式程式介面( RESTful API) 。
- FastAPI - A Web Framework for Python - 看看如何用 FastAPI 做數字驗證 。
- FastAPI vs. Django vs. Flask - 2020年, 哪一种用Aync/await最好的? 哪一個最快?
- Serving Machine Learning Models As API with FastAPI - 用 FastAPI 建一個學 API 的機器 。
- Test-Driven Development with FastAPI and Docker - 用 Python 、 FastAPI 、 Docker 來學習如何建立、 測試及部署文字總結微服務 。
- Modern APIs with FastAPI and Python - 旨在讓您與 FastAPI 在雲中快速建立新的 API 的課程 。
- Full Web Apps with FastAPI Course - 你會學會用 FastAPI 建立完整的網絡應用程式, 相当于你對 Flask 或 Django 能做的。
- The Definitive Guide to Celery and FastAPI - 學習如何在 FastAPI 應用程式中加入 Celery 以提供同步的工作處理 。
- FastAPI Best Practices - 在 GitHub repo 中收集最佳做法。
- FastAPI-Dishka-FastStream - 混合FastAPI, diska, 快流, sqlalchemy, pydantic.
- FastAPI Clean Example - 使用 FastAPI 建立清潔建築後端範例 。
(平台即服務)
- AWS Elastic Beanstalk
- Fly(tutorial,Deploy from a Git repo)
- Google App Engine
- Heroku(Step-by-step tutorial,ML model on Heroku tutorial)
- Microsoft Azure App Service
(基礎架構即服務)
框架:
運算服務:
- Full Stack FastAPI and PostgreSQL - Base Project Generator - 完整堆疊 FastAPI 樣本 ,其中包括 FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, 自動HTTPS, 以及更多(由 FastAPI 的創作人开发),Sebastián Ramírez).
- FastAPI and Tortoise ORM - 網路APIs w/ FastAPI (作为網絡框架) 和 Ortoise-ORM (無頭痛地經過數據庫工作) 的強大但簡單的樣本 。
- FastAPI + SQLAlchemy 2 + PostgreSQL Template - 使用依赖性注射( modern- di) 、 Alembic 移動以及 justfile 工作流程的嵌入式啟動器 。
- FastAPI Model Server Skeleton - Skeleton應用程式可以供應機器學習模型的製作
- cookiecutter-spacy-fastapi - 用 FastAPI 快速部署 SparCy 模型 。
- cookiecutter-fastapi - FastAPI 專案的 Cookiecutter 樣本, 使用: 機器學習、詩歌、 Azure管道與 pytest 。
- openapi-python-client - 從 OpenAPI 產生現代 FastAPI Python 客戶端( 通过 FastAPI ) 。
- Pywork - Yeoman FastAPI應用程式
- fastapi-gino-arq-uvicorn - Python 中高性能的 REST API 樣本 FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).
- FastAPI and React Template - 使用 FastAPI 、 TypeScript 、 Docker、 PostgreSQL 和 React 的全堆餅乾
- FastAPI Nano - 簡單的 FastAPI 樣本, 带有工廠樣式架构 。
- FastAPI template - 灵活、輕巧的 FastAPI 專案產生器 。 包括支持SQLAlchemy、多個數據庫、CI/CD、Docker和Kubernetes。
- FastAPI on Google Cloud Run - 包括FastAPI、SQLModel、Google Cloud Run等。
- FastAPI with Firestore - 由FastAPI及Google Cloud Firestore提供。
- fastapi-alembic-sqlmodel-async - 這是一個專案樣本, 用 FastAPI, Alembic, 以及 Aync SQLModel 做為 ORM 。
- fastapi-starter-project - 專案樣本使用 FastAPI, SQLModel, Alembic, Pytest, Docker, GitHub Actions CI 。
- Full Stack FastAPI and MongoDB - Base Project Generator - 完整堆栈、 現代網絡應用程式產生器, 包括 FastAPI、 MongoDB、 Docker、 Celery、 React 前端、 自動 HTTPS 等 。
- Uvicorn Poetry FastAPI Project Template - 啟動 FastAPI 應用程式的 Cookiecutter 專案樣本 。 在 Kubernetes 上的 Uvicorn ASGI 伺服器中執行 。 支援AMD64和ARM64 CPU架构.
- FastAPI Agent Blueprint - DDD 分層樣本, 一般的基級會提供沒有锅爐板的 Aync CRUD, 域名在發現時自行登記,
- inboard - Docker 影像來為 FastAPI 應用程式提供電源, 並幫助您更快的運送 。
- uvicorn-gunicorn-fastapi-docker - 由 Gunicorn 管理, 用于 Python 3. 7 和 3. 6 的高性能 FastAPI 網絡應用程式,
- uvicorn-gunicorn-poetry - 使用 Uvicorn 工人來運行 Python 網絡應用程式。 使用詩歌管理依賴和建立虛擬環境。 支援AMD64和ARM64 CPU架构.
- uvicorn-poetry - 在 Kubernetes 上執行 Python 網頁應用程式的 Uvicorn ASGI 伺服器 Docker 影像 。 使用詩歌管理依賴和建立虛擬環境。 支援AMD64和ARM64 CPU架构.
- Astrobase - 簡單,快速,安全的部署任何地方。
- Awesome FastAPI Projects - 整理使用 FastAPI 的專案清單 。
- Bitcart - 供商家、使用者和開發商使用的平台,
- Bali - FastAPI和gRPC上的雲原微服務發展基地简化.
- Bunnybook - 由 FastAPI 、 React+RxJs 、 Neo4j 、 PostgreSQL 和 Redis 建立的小社交網路。
- Coronavirus-tg-api - 全球冠狀病毒(COVID-19,SARS-CoV-2)疫情的API。
- Dispatch - 管理安全事件。
- FastAPI CRUD 示例 :
- FastAPI with Observability - 透過 OpenTeleometter 和 OpenMetrics 觀察 FastAPI 應用程式: Traces (Tempo), Metrics (Prometheus), Grafana上的logs (Loki) 。
- FastAPI Websocket Broadcast - Websocket”廣播”演示。
- FastAPI with Celery, RabbitMQ, and Redis - 使用 FastAPI 與 RabbitMQ 的 Celery 做工作排隊、 Redis 做 Celery 后端、 Flower 做 Celery 工作的監控。
- FuturamaAPI - 提供WebSockets、SSE、召回、秘密訊息等。
- JeffQL - 使用 GraphQL 和 JWT 簡單的認證與登入 API 。
- JSON-RPC Server - 基于 FastAPI 的 JSON- RPC 伺服器 。
- Mailer - 死信者微信服務,
- Markdown-Videos - API 產生縮圖以嵌入您的標記下內容 。
- Nemo - 和尼莫一起工作
- OPAL (Open Policy Administration Layer) - 在 Open- Policy 上面的实时授權更新; 使用 FastAPI, Typer, 和 FastAPI WebSocket pub/ sub 建立 。
- OSBot-Fast-API - 提供中端軟件、 HTTP 事件追蹤、 AWS Lambda 集成、 試驗工具、 以及 Type Safe、 Pydantic 與資料類別的自動轉換等功能的型態安全 FastAPI 包裝程式 。
- Polar - 由 FastAPI 、 SQLAlchemy 、 Alembic 和 Arq 搭建,
- RealWorld Example App - mongo
- RealWorld Example App - postgres
- redis-streams-fastapi-chat - 使用 Websockets、 Asyncio 和 FastAPI/ Starlette 的簡單 Redis Streams 支援聊天應用程式 。
- Sprites as a service - 使用 Cellular Automata 產生您的個人 8 位變形器 。
- Slackers - Slack webhokes API. 网易网.
- TermPair - 用端到端加密從您的瀏覽器檢視及控制终端 。
- Universities - API服務,
請檢查我們的贊助者,
HagiCode
HagiCode 是面向專案開發的 AI 編碼工作台:豐富、便利的介面互動讓規劃、Agent 執行與專案工作更容易上手和跟進,帶來更投入的開發體驗。
透過豐富、便利的介面互動,讓規劃、Agent 執行與專案工作更容易上手和跟進。
- 智慧OpenSpec 工作流程將意圖轉化為從提案、設計、任務到交付的可執行路徑。
- 高效多 Agent 並行推進研究、實作與審查,並支援多儲存庫變更與你熟悉的 Agent CLI。
- 有趣豐富、便利的介面互動讓規劃、Agent 執行與專案工作更容易上手和跟進,帶來更投入的開發體驗。
下載 Windows 版
分享 HagiCode
讓想法化為交付成果。
HagiCode 是面向專案開發的 AI 編碼工作台:以 OpenSpec 工作流程規劃變更,多 Agent 並行執行,再由 Hero Scenario 讓進度一目了然,將想法化為交付成果。
- 智慧
- OpenSpec 工作流程將意圖轉化為從提案到交付的可執行路徑。
- 高效
- 多 Agent 並行推進研究、實作與審查。
- 有趣
- 豐富、便利的介面互動,讓規劃、Agent 執行與專案工作更容易跟進。
© 2026 HagiCode | Powered By hagilight-starlight@0.21.0 | Branch: main | Commit: 745b50b | Built:

