[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f3ef4nmbbew0q2":3,"portal-md-b2e439540ac88c1e7dc69b86e23cfec1":359},{"code":4,"data":5},2000,{"sectionUuid":6,"section":7,"prev":357,"next":358},"16f168f4d671039154292e700d8858d7",{"uuid":6,"name":8,"category":9,"menu":10},"FastAPI第三方库合集","Python",[11,25,41,89,189,225,233],{"id":12,"isCategory":13,"label":14,"children":15,"access":24},5,true,"第三方扩展",[16,20],{"id":17,"path":6,"label":18,"access":19},2,"FastApi 第三方库使用方法和介绍","free",{"id":21,"path":22,"label":23,"access":19},3,"b2e439540ac88c1e7dc69b86e23cfec1","FastApi 第三方库清单合集","vip",{"id":26,"isCategory":13,"label":27,"children":28,"access":24},11,"管理",[29,33,37],{"id":30,"path":31,"label":32,"access":24},7,"0f5d656d38f62caf14df074e460095e5","FastAPI Admin",{"id":34,"path":35,"label":36,"access":24},8,"1ab0796dd1dc97c3437ebd02ce434769","Piccolo Admin",{"id":38,"path":39,"label":40,"access":24},9,"4fe35751392cc208ab4ae14ed72fe4b3","SQLAlchemy Admin",{"id":42,"isCategory":13,"label":43,"children":44,"access":24},25,"认证",[45,49,53,57,61,65,69,73,77,81,85],{"id":46,"path":47,"label":48,"access":24},13,"f8fd7ab3c16b040e25ba088f5470b7d2","AuthX",{"id":50,"path":51,"label":52,"access":24},14,"e92f7ac1cc473d108b63f536e3e7b5d1","FastAPI Auth",{"id":54,"path":55,"label":56,"access":24},15,"ce9f22993f20a8c4fad73b9ab7e3f13f","FastAPI-Amis-Admin",{"id":58,"path":59,"label":60,"access":24},16,"546d675aa11d46999cd4ffb6670c1578","FastAPI Azure Auth",{"id":62,"path":63,"label":64,"access":24},17,"31b40d33c9d8704e743a5988ad05747d","FastAPI Cloud Auth",{"id":66,"path":67,"label":68,"access":24},18,"d5cb303f80263d0c90e3ce8d279dc7b1","FastAPI Login",{"id":70,"path":71,"label":72,"access":24},19,"a5da76ce229b31b0b70ffb2a63cd889c","FastAPI JWT Auth",{"id":74,"path":75,"label":76,"access":24},20,"b153ed0cfe53aa54f794f3e1392d941a","FastAPI Permissions",{"id":78,"path":79,"label":80,"access":24},21,"8719a867c225c62d0a8e7f826f8e82e7","FastAPI Security",{"id":82,"path":83,"label":84,"access":24},22,"7381152c68a94f0dae94ce136ca96553","FastAPI Simple Security",{"id":86,"path":87,"label":88,"access":24},23,"c170df890265eb66edc6aa7048706e7c","FastAPI Users",{"id":90,"isCategory":13,"label":91,"children":92,"access":24},63,"数据库",[93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,185],{"id":94,"path":95,"label":96,"access":24},29,"8c21edde6a06416c723586f6275fc7f7","FastAPI SQLAlchemy",{"id":98,"path":99,"label":100,"access":24},30,"5e0235bf748851ec1bd7fc64c0ff8093","Fastapi-SQLA",{"id":102,"path":103,"label":104,"access":24},31,"93b9683ecbf76c3bc2f17d8ce1b81ee5","FastAPIwee",{"id":106,"path":107,"label":108,"access":24},32,"edfdde3ab8267ccb7edf2c29f6f493fb","GINO",{"id":110,"path":111,"label":112,"access":24},33,"df4c905f9bc148419dc1327f3f824fa9","ORM",{"id":114,"path":115,"label":116,"access":24},34,"1b5482832c61edcf023d6c7f50a2a874","ormar",{"id":118,"path":119,"label":120,"access":24},35,"7d8ef3da530ed26aa77d293e8d1f7113","Piccolo",{"id":122,"path":123,"label":124,"access":24},36,"3d2be3bf2099fe01f81dcd2f46b5dc88","Prisma Client Python",{"id":126,"path":127,"label":128,"access":24},37,"dd247b22a9994401d2b3c3cb0fb231f9","Tortoise ORM",{"id":130,"path":131,"label":132,"access":24},38,"9137c227c5cd8e22b32b33368ebabca1","Tutorial: Setting up Tortoise ORM with FastAPI",{"id":134,"path":135,"label":136,"access":24},39,"065ed267d79fea685f37e691128b82ad","Aerich",{"id":138,"path":139,"label":140,"access":24},40,"52529aa9dfd9a3456b31bc76af6e650f","SQLModel",{"id":142,"path":143,"label":144,"access":24},41,"ad8e793c9ac4cf1e4e4baf903937ca8b","SQLAlchemy和Tortoise-ORM",{"id":146,"path":147,"label":148,"access":24},42,"f2a088ec05c680ebd10a101b4976cd5f","FastAPI Example",{"id":150,"path":151,"label":152,"access":24},43,"6aba7eba7498c777663e82cdafbc59e5","FastAPI Examples",{"id":154,"path":155,"label":156,"access":24},47,"f764664f9fc7a6bc69dabc4f322accf6","asyncpgsa",{"id":158,"path":159,"label":160,"access":24},48,"ab71a1324d3770ec9518118dce755601","Databases",{"id":162,"path":163,"label":164,"access":24},52,"be349dd282023759cfbe5cce33a39f3c","Beanie",{"id":166,"path":167,"label":168,"access":24},53,"afcff05a96e6c1fd8fd496902aeada6e","MongoEngine",{"id":170,"path":171,"label":172,"access":24},54,"6f014a749119bf4e2a23ada2353866c9","Motor",{"id":174,"path":175,"label":176,"access":24},55,"e6a7ad02be66d8d8c6c865c21cd5c371","ODMantic",{"id":178,"path":179,"label":180,"access":24},59,"2d17ad3937d00e2f4dc2e4bdfacce80d","Pydantic-SQLAlchemy",{"id":182,"path":183,"label":184,"access":24},60,"b380d169e34fc6adfc1d414139c64d49","FastAPI-CamelCase",{"id":186,"path":187,"label":188,"access":24},61,"7a604e45ff34f5a00b332558d4ee7b46","Pydantic",{"id":190,"isCategory":13,"label":191,"children":192,"access":24},74,"开发工具",[193,197,201,205,209,213,217,221],{"id":194,"path":195,"label":196,"access":24},65,"112ac4e1da4e42b09bf233cb5282000e","FastAPI Code Generator",{"id":198,"path":199,"label":200,"access":24},66,"e8c02db54652cda1745bfdf5eecf7cfc","FastAPI Client Generator",{"id":202,"path":203,"label":204,"access":24},67,"1c040f24d03710ce6e526787305ff2bb","FastAPI MVC",{"id":206,"path":207,"label":208,"access":24},68,"76995ee4fe3cd95dbab8cc515bddd877","FastAPI Profiler",{"id":210,"path":211,"label":212,"access":24},69,"e07cba659fd252456ffeea2ee2d3759d","FastAPI Versioning",{"id":214,"path":215,"label":216,"access":24},70,"00e37547e2c5ffb92ec3feee32f18ab3","Jupyter Notebook REST API",{"id":218,"path":219,"label":220,"access":24},71,"4006dc3abaff8fccbe42bee8b6153e4c","Manage FastAPI",{"id":222,"path":223,"label":224,"access":24},72,"95fe657263a760502cf9befaf2ada713","msgpack-asgi",{"id":226,"isCategory":13,"label":227,"children":228,"access":24},78,"邮箱",[229],{"id":230,"path":231,"label":232,"access":24},76,"9d26670f685a80842490f8c7bd6d3970","FastAPI Mail",{"id":234,"label":235,"children":236,"access":24},110,"其他",[237,241,245,249,253,257,261,265,269,273,277,281,285,289,293,297,301,305,309,313,317,321,325,329,333,337,341,345,349,353],{"id":238,"path":239,"label":240,"access":24},80,"ab625b3742e443d840b9d26ae47a1316","ASGI Correlation ID",{"id":242,"path":243,"label":244,"access":24},81,"634d307f773934e7bea20068df51e6b8","FastAPI Cache",{"id":246,"path":247,"label":248,"access":24},82,"48d52b5434259f44764e97983a81b6b7","FastAPI Chameleon",{"id":250,"path":251,"label":252,"access":24},83,"472052fb37c0e97c8308acb76fcf93a9","FastAPI Contrib",{"id":254,"path":255,"label":256,"access":24},84,"a94449b3afccb496e6478858332d1375","FastAPI CRUDRouter",{"id":258,"path":259,"label":260,"access":24},85,"50792a00b6128d3716e401376a9e8253","FastAPI Events",{"id":262,"path":263,"label":264,"access":24},86,"aaa762b9d8034a40b88fddc13505d5bd","FastAPI FeatureFlags",{"id":266,"path":267,"label":268,"access":24},87,"46cd3a66427246b19c77c26038fd8d75","FastAPI Jinja",{"id":270,"path":271,"label":272,"access":24},88,"93ceccfcfed088328d966ad8641e9bc4","FastAPI Lazy",{"id":274,"path":275,"label":276,"access":24},89,"2c5e60d46c0b79f560ae53369709efae","FastAPI Limiter",{"id":278,"path":279,"label":280,"access":24},90,"3af3c8423bbae7c5e84f92d3986c8a50","FastAPI MQTT",{"id":282,"path":283,"label":284,"access":24},91,"437d01e8df74080e1610ee88fd2e8aa9","FastAPI Opentracing",{"id":286,"path":287,"label":288,"access":24},92,"46bd710dce4e132732b0677adf12efde","FastAPI Pagination",{"id":290,"path":291,"label":292,"access":24},93,"b415642bbc48151a11a56a5a55bb76cd","FastAPI Plugins",{"id":294,"path":295,"label":296,"access":24},94,"92bdbf247e80e4e8c20ca4eefd271caf","FastAPI ServiceUtils",{"id":298,"path":299,"label":300,"access":24},95,"48c93bcf22565dc766b26d7591772926","FastAPI SocketIO",{"id":302,"path":303,"label":304,"access":24},96,"0616fb6ad8d8184f1f13050a44566b21","FastAPI Utilities",{"id":306,"path":307,"label":308,"access":24},97,"22409475bd9eaf824e0ff8e1482371f9","FastAPI Websocket Pub\u002FSub",{"id":310,"path":311,"label":312,"access":24},98,"8917dca85bb52fda54f890b55f29609c","FastAPI Websocket RPC",{"id":314,"path":315,"label":316,"access":24},99,"a0e61823bb7ca481a264c8b589cdc680","OpenTelemetry FastAPI Instrumentation",{"id":318,"path":319,"label":320,"access":24},100,"ce8938ad8599654e758d103a694e6ee0","Starlette",{"id":322,"path":323,"label":324,"access":24},101,"f74cb082ba1fd322b9cb47843dd76f0a","Starlette Context",{"id":326,"path":327,"label":328,"access":24},102,"75505b3eef3a35cd428ad973ecb30838","Starlette Exporter",{"id":330,"path":331,"label":332,"access":24},103,"c367f4c6740a3f053b8877b4e22236ea","Starlette OpenTracing",{"id":334,"path":335,"label":336,"access":24},104,"c480a237ca95e98a75d323dc9447d0b7","Starlette Prometheus",{"id":338,"path":339,"label":340,"access":24},105,"b49683f711b01a0642c5964835f22d3d","Prometheus FastAPI Instrumentator",{"id":342,"path":343,"label":344,"access":24},106,"ee9a7df0bcc2314b4547d69e7a50adf1","SlowApi",{"id":346,"path":347,"label":348,"access":24},107,"d7e5b43634f017120eadda08dea7e4fc","Strawberry GraphQL",{"id":350,"path":351,"label":352,"access":24},108,"9d288e42a87ff4ad03c0078c16a1a9a7","Apscheduler",{"id":354,"path":355,"label":356,"access":24},109,"1b6b96d7a9df1939383ba2f10e9fd72a","Celery",{"path":6,"label":18,"access":19},{"path":31,"label":32,"access":24},{"code":4,"msg":360,"data":361},"success",{"last_modify_datetime":362,"sys_article_tags":363,"custom_article_tags":364,"special_column":365,"title":368,"id":369,"markdown":370,"number_of_visits":367,"next_page_url":31,"next_page_title":371,"last_page_url":6,"last_page_title":372,"category_path":373},"2026-07-26 23:39:11",[],[],{"name":366,"article_nums":367,"subscribe_nums":367},"公众号：CTO Plus",0,"FastApi日常常用第三方合集","","\n以下是关于FastApi开发框架日常开发中常用到的一些第三方库。\n\n## 管理\n\n- [FastAPI Admin](#\u002Fctoplus_article\u002F0f5d656d38f62caf14df074e460095e5) - 功能管理面板，提供用于对数据执行 CRUD 操作的用户界面。目前仅适用于 Tortoise ORM。 参考地址：https:\u002F\u002Fgithub.com\u002Ffastapi-admin\u002Ffastapi-admin\n- [Piccolo Admin](#\u002Fctoplus_article\u002F1ab0796dd1dc97c3437ebd02ce434769) - 一个强大而现代的管理 GUI，使用 Piccolo ORM。 参考地址：https:\u002F\u002Fgithub.com\u002Fpiccolo-orm\u002Fpiccolo_admin\n- [SQLAlchemy Admin](#\u002Fctoplus_article\u002F4fe35751392cc208ab4ae14ed72fe4b3) - 适用于 SQLAlchemy 模型的 FastAPI\u002FStarlette 管理面板。 参考地址：https:\u002F\u002Fgithub.com\u002Faminalaee\u002Fsqladmin\n\n## 认证\n\n- [AuthX](#\u002Fctoplus_article\u002Ff8fd7ab3c16b040e25ba088f5470b7d2) - 用于FastAPI的可定制的认证和Oauth2管理。 参考地址：https:\u002F\u002Fgithub.com\u002Fyezz123\u002FAuthX\n- [FastAPI Auth](#\u002Fctoplus_article\u002Fe92f7ac1cc473d108b63f536e3e7b5d1) - 支持OAuth2密码、JWT访问和刷新令牌的可插拔式的认证。 参考地址：https:\u002F\u002Fgithub.com\u002Fdmontagu\u002Ffastapi-auth\n- [FastAPI Azure Auth](#\u002Fctoplus_article\u002F546d675aa11d46999cd4ffb6670c1578) - 为你的API提供Azure AD认证，支持单租户和多租户。 参考地址：https:\u002F\u002Fgithub.com\u002FIntility\u002Ffastapi-azure-auth\n- [FastAPI Cloud Auth](#\u002Fctoplus_article\u002F31b40d33c9d8704e743a5988ad05747d) - FastAPI和云认证服务 (AWS Cognito, Auth0, Firebase Authentication) 之间的简单集成。. 参考地址：https:\u002F\u002Fgithub.com\u002Ftokusumi\u002Ffastapi-cloudauth\n- [FastAPI Login](#\u002Fctoplus_article\u002Fd5cb303f80263d0c90e3ce8d279dc7b1) - 账号管理和认证 (基于 [Flask-Login](https:\u002F\u002Fgithub.com\u002Fmaxcountryman\u002Fflask-login)). 参考地址：https:\u002F\u002Fgithub.com\u002FMushroomMaula\u002Ffastapi_login\n- [FastAPI JWT Auth](#\u002Fctoplus_article\u002Fa5da76ce229b31b0b70ffb2a63cd889c) - JWT 认证 (基于 [Flask-JWT-Extended](https:\u002F\u002Fgithub.com\u002Fvimalloc\u002Fflask-jwt-extended)). 参考地址：https:\u002F\u002Fgithub.com\u002FIndominusByte\u002Ffastapi-jwt-auth\n- [FastAPI Permissions](#\u002Fctoplus_article\u002Fb153ed0cfe53aa54f794f3e1392d941a) - Row-level 权限控制. 参考地址：https:\u002F\u002Fgithub.com\u002Fholgi\u002Ffastapi-permissions\n- [FastAPI Security](#\u002Fctoplus_article\u002F8719a867c225c62d0a8e7f826f8e82e7) - 结合FastAPI的依赖项，实施认证和授权。 参考地址：https:\u002F\u002Fgithub.com\u002Fjacobsvante\u002Ffastapi-security\n- [FastAPI Simple Security](#\u002Fctoplus_article\u002F7381152c68a94f0dae94ce136ca96553) - 通过路径操作，来管理开箱即用的API密钥安全。 参考地址：https:\u002F\u002Fgithub.com\u002Fmrtolkien\u002Ffastapi_simple_security\n- [FastAPI Users](#\u002Fctoplus_article\u002Fc170df890265eb66edc6aa7048706e7c) - 账户管理、认证、授权。 参考地址：https:\u002F\u002Fgithub.com\u002Ffastapi-users\u002Ffastapi-users\n\n## 数据库\n\n#### ORMs\n\n- [FastAPI SQLAlchemy](#\u002Fctoplus_article\u002F8c21edde6a06416c723586f6275fc7f7) - FastAPI 和 [SQLAlchemy](https:\u002F\u002Fwww.sqlalchemy.org\u002F) 之间的简单集成。 参考地址：https:\u002F\u002Fgithub.com\u002Fmfreeborn\u002Ffastapi-sqlalchemy\n- [Fastapi-SQLA](#\u002Fctoplus_article\u002F5e0235bf748851ec1bd7fc64c0ff8093) - SQL Alchemy 扩展用于快速 API，支持分页、异步和 pytest。 参考地址：https:\u002F\u002Fgithub.com\u002Fdialoguemd\u002Ffastapi-sqla\n- [FastAPIwee](#\u002Fctoplus_article\u002F93b9683ecbf76c3bc2f17d8ce1b81ee5) - 基于 [PeeWee](https:\u002F\u002Fgithub.com\u002Fcoleifer\u002Fpeewee) 模型创建 REST API 的简单方法 参考地址：https:\u002F\u002Fgithub.com\u002FIgnisor\u002FFastAPIwee\n- [GINO](#\u002Fctoplus_article\u002Fedfdde3ab8267ccb7edf2c29f6f493fb) - 一个基于Python异步，建立在 SQLAlchemy 核心之上轻量级异步 ORM。 参考地址：https:\u002F\u002Fgithub.com\u002Fpython-gino\u002Fgino\n    - [FastAPI Example](#\u002Fctoplus_article\u002Ff2a088ec05c680ebd10a101b4976cd5f) 参考地址：https:\u002F\u002Fgithub.com\u002Fleosussan\u002Ffastapi-gino-arq-uvicorn\n- [ORM](#\u002Fctoplus_article\u002Fdf4c905f9bc148419dc1327f3f824fa9) - 一个异步 ORM. 参考地址：https:\u002F\u002Fgithub.com\u002Fencode\u002Form\n- [ormar](#\u002Fctoplus_article\u002F1b5482832c61edcf023d6c7f50a2a874) - Ormar 是一个异步 ORM，可以直接用于FastAPI请求和响应，因此你只需要维护一套模型，包含 Alembic 迁移 参考地址：https:\u002F\u002Fcollerek.github.io\u002Formar\u002F\n    - [FastAPI Example](#\u002Fctoplus_article\u002Ff2a088ec05c680ebd10a101b4976cd5f) - 在ormar使用FastAPI框架. 参考地址：https:\u002F\u002Fcollerek.github.io\u002Formar\u002Ffastapi\u002F\n- [Piccolo](#\u002Fctoplus_article\u002F7d8ef3da530ed26aa77d293e8d1f7113) - 一个异步ORM和查询生成器，支持Postgres和SQLite，带有功能 (迁移、安全等). 参考地址：https:\u002F\u002Fgithub.com\u002Fpiccolo-orm\u002Fpiccolo\n    - [FastAPI Examples](#\u002Fctoplus_article\u002F6aba7eba7498c777663e82cdafbc59e5) - 在Piccolo 使用FastAPI框架. 参考地址：https:\u002F\u002Fgithub.com\u002Fpiccolo-orm\u002Fpiccolo_examples\n- [Prisma Client Python](#\u002Fctoplus_article\u002F3d2be3bf2099fe01f81dcd2f46b5dc88) - 一个由Pydantic提供的自动生成的、全部类型安全的ORM，并为你的模式专门定制 - 支持SQLite、PostgreSQL、MySQL、MongoDB、MariaDB等。 参考地址：https:\u002F\u002Fgithub.com\u002FRobertCraigie\u002Fprisma-client-py\n    - [FastAPI Example](#\u002Fctoplus_article\u002Ff2a088ec05c680ebd10a101b4976cd5f) - FastAPI 示例 参考地址：https:\u002F\u002Fgithub.com\u002FRobertCraigie\u002Fprisma-client-py\u002Ftree\u002Fmain\u002Fexamples\u002Ffastapi-basic\n- [Tortoise ORM](#\u002Fctoplus_article\u002Fdd247b22a9994401d2b3c3cb0fb231f9) - 一个易于使用的异步 ORM（对象关系映射器），灵感来自Django 参考地址：https:\u002F\u002Ftortoise.github.io\n    - [FastAPI Example](#\u002Fctoplus_article\u002Ff2a088ec05c680ebd10a101b4976cd5f) - 一个 Tortoise-ORM FastAPI 集成的例子. 参考地址：https:\u002F\u002Ftortoise.github.io\u002Fexamples\u002Ffastapi.html\n    - [Tutorial: Setting up Tortoise ORM with FastAPI](#\u002Fctoplus_article\u002F0ef9cb06fee2d3c7fadf03fb052254b8) 参考地址：https:\u002F\u002Fweb.archive.org\u002Fweb\u002F20200523174158\u002Fhttps:\u002F\u002Frobwagner.dev\u002Ftortoise-fastapi-setup\u002F\n    - [Aerich](#\u002Fctoplus_article\u002F065ed267d79fea685f37e691128b82ad) - Tortoise ORM 迁移工具. 参考地址：https:\u002F\u002Fgithub.com\u002Ftortoise\u002Faerich\n- [SQLModel](#\u002Fctoplus_article\u002F52529aa9dfd9a3456b31bc76af6e650f) - (由Pydantic和SQLAlchemy驱动)是一个用于与Python代码交互的SQL数据库的库，具有Python对象。 参考地址：https:\u002F\u002Fsqlmodel.tiangolo.com\u002F\n\n#### Query Builders\n\n- [asyncpgsa](#\u002Fctoplus_article\u002Ff764664f9fc7a6bc69dabc4f322accf6) - 一个用于 [SQLAlchemy Core](https:\u002F\u002Fdocs.sqlalchemy.org\u002Fen\u002Flatest\u002Fcore\u002F) 的 [asyncpg](https:\u002F\u002Fgithub.com\u002FMagicStack\u002Fasyncpg)的包装器。 参考地址：https:\u002F\u002Fgithub.com\u002FCanopyTax\u002Fasyncpgsa\n- [Databases](#\u002Fctoplus_article\u002Fab71a1324d3770ec9518118dce755601) - 异步sql查询构建器，基于 [SQLAlchemy Core](https:\u002F\u002Fdocs.sqlalchemy.org\u002Fen\u002Flatest\u002Fcore\u002F) 表达式语言。 参考地址：https:\u002F\u002Fgithub.com\u002Fencode\u002Fdatabases\n\n#### ODMs\n\n- [Beanie](#\u002Fctoplus_article\u002Fbe349dd282023759cfbe5cce33a39f3c) - 用于MongoDB的异步Python ODM，基于 [Motor](https:\u002F\u002Fmotor.readthedocs.io\u002Fen\u002Fstable\u002F) 和 [Pydantic](https:\u002F\u002Fpydantic-docs.helpmanual.io\u002F), 支持数据和模式迁移。 参考地址：https:\u002F\u002Fgithub.com\u002Froman-right\u002Fbeanie\n- [MongoEngine](#\u002Fctoplus_article\u002Fafcff05a96e6c1fd8fd496902aeada6e) - 一个用于Python的MongoDB文档对象映射器（类似于ORM，但用于文档数据库）。 参考地址：http:\u002F\u002Fmongoengine.org\u002F\n- [Motor](#\u002Fctoplus_article\u002F6f014a749119bf4e2a23ada2353866c9) - 异步MongoDB的Python驱动程序。 参考地址：https:\u002F\u002Fmotor.readthedocs.io\u002F\n- [ODMantic](#\u002Fctoplus_article\u002Fe6a7ad02be66d8d8c6c865c21cd5c371) - AsyncIO MongoDB ODM 集成 [Pydantic](https:\u002F\u002Fpydantic-docs.helpmanual.io\u002F) 参考地址：https:\u002F\u002Fart049.github.io\u002Fodmantic\u002F\n\n#### Other Tools (其他工具)\n\n- [Pydantic-SQLAlchemy](#\u002Fctoplus_article\u002F2d17ad3937d00e2f4dc2e4bdfacce80d) - 将SQLAlchemy模型转换为 [Pydantic](https:\u002F\u002Fpydantic-docs.helpmanual.io\u002F) 模型。 参考地址：https:\u002F\u002Fgithub.com\u002Ftiangolo\u002Fpydantic-sqlalchemy\n- [FastAPI-CamelCase](#\u002Fctoplus_article\u002Fb380d169e34fc6adfc1d414139c64d49) - 利用 [Pydantic](https:\u002F\u002Fpydantic-docs.helpmanual.io\u002F) 的CamelCase JSON支持。 参考地址：https:\u002F\u002Fnf1s.github.io\u002Ffastapi-camelcase\u002F\n    - [CamelCase Models with FastAPI and Pydantic](#\u002Fctoplus_article\u002F7a604e45ff34f5a00b332558d4ee7b46) - Accompanying blog post from the author of the extension. 随之而来的作者扩展的博客文章。 参考地址：https:\u002F\u002Fmedium.com\u002Fanalytics-vidhya\u002Fcamel-case-models-with-fast-api-and-pydantic-5a8acb6c0eee\n\n## 开发工具\n\n- [FastAPI Code Generator](#\u002Fctoplus_article\u002F112ac4e1da4e42b09bf233cb5282000e) - 从OpenAPI文件创建FastAPI应用程序，从而实现模式驱动的开发。 参考地址：https:\u002F\u002Fgithub.com\u002Fkoxudaxi\u002Ffastapi-code-generator\n- [FastAPI Client Generator](#\u002Fctoplus_article\u002Fe8c02db54652cda1745bfdf5eecf7cfc) - 基于OpenAPI规范生成一个mypy和IDE友好的API客户端。 参考地址：https:\u002F\u002Fgithub.com\u002Fdmontagu\u002Ffastapi_client\n- [FastAPI MVC](#\u002Fctoplus_article\u002F1c040f24d03710ce6e526787305ff2bb) - 开发人员生产力工具，用于制作高质量的FastAPI生产就绪API。 参考地址：https:\u002F\u002Fgithub.com\u002Ffastapi-mvc\u002Ffastapi-mvc\n- [FastAPI Profiler](#\u002Fctoplus_article\u002F76995ee4fe3cd95dbab8cc515bddd877) - 一个基于joerick\u002Fpyinstrument，检查你的服务性能的FastAPI中间件。 参考地址：https:\u002F\u002Fgithub.com\u002Fsunhailin-Leo\u002Ffastapi_profiler\n- [FastAPI Versioning](#\u002Fctoplus_article\u002Fe07cba659fd252456ffeea2ee2d3759d) - API 的版本控制. 参考地址：https:\u002F\u002Fgithub.com\u002FDeanWay\u002Ffastapi-versioning\n- [Jupyter Notebook REST API](#\u002Fctoplus_article\u002F00e37547e2c5ffb92ec3feee32f18ab3) - 运行你的Jupyter笔记本作为RESTful API端点。 参考地址：https:\u002F\u002Fgithub.com\u002FInvictify\u002FJupter-Notebook-REST-API\n- [Manage FastAPI](#\u002Fctoplus_article\u002F4006dc3abaff8fccbe42bee8b6153e4c) - CLI 工具，用于生成和管理 FastAPI 项目。 参考地址：https:\u002F\u002Fgithub.com\u002Fycd\u002Fmanage-fastapi\n- [msgpack-asgi](#\u002Fctoplus_article\u002F95fe657263a760502cf9befaf2ada713) - 自动 [MessagePack](https:\u002F\u002Fmsgpack.org\u002F) 内容协商。 参考地址：https:\u002F\u002Fgithub.com\u002Fflorimondmanca\u002Fmsgpack-asgi\n\n## 邮箱\n\n- [FastAPI Mail](#\u002Fctoplus_article\u002F9d26670f685a80842490f8c7bd6d3970) - 轻量级邮件系统，用于发送电子邮件和附件（单个和批量）。 参考地址：https:\u002F\u002Fgithub.com\u002Fsabuhish\u002Ffastapi-mail\n\n## 其他\n\n- [ASGI Correlation ID](#\u002Fctoplus_article\u002Fab625b3742e443d840b9d26ae47a1316) - 请求ID日志中间件。 参考地址：https:\u002F\u002Fgithub.com\u002Fsnok\u002Fasgi-correlation-id\n- [FastAPI Cache](#\u002Fctoplus_article\u002F634d307f773934e7bea20068df51e6b8) - 一个简单的轻量级缓存系统。 参考地址：https:\u002F\u002Fgithub.com\u002Fcomeuplater\u002Ffastapi_cache\n- [FastAPI Cache](#\u002Fctoplus_article\u002F634d307f773934e7bea20068df51e6b8) - 一个用于缓存FastAPI响应和函数结果的工具，支持Redis，Memcached，DynamoDB和内存后端。 参考地址：https:\u002F\u002Fgithub.com\u002Flong2ice\u002Ffastapi-cache\n- [FastAPI Chameleon](#\u002Fctoplus_article\u002F48d52b5434259f44764e97983a81b6b7) - 增加了Chameleon模板语言到FastAPI的集成。 参考地址：https:\u002F\u002Fgithub.com\u002Fmikeckennedy\u002Ffastapi-chameleon\n- [FastAPI Contrib](#\u002Fctoplus_article\u002F472052fb37c0e97c8308acb76fcf93a9) - 一组有观点的实用程序：分页，身份验证中间件，权限，自定义异常处理程序，MongoDB支持和Opentracing中间件。 参考地址：https:\u002F\u002Fgithub.com\u002Fidentixone\u002Ffastapi_contrib\n- [FastAPI CRUDRouter](#\u002Fctoplus_article\u002Fa94449b3afccb496e6478858332d1375) - 一个自动创建和记录CRUD路由的FastAPI路由器，用于你的模型。 参考地址：https:\u002F\u002Fgithub.com\u002Fawtkns\u002Ffastapi-crudrouter\n- [FastAPI Events](#\u002Fctoplus_article\u002F50792a00b6128d3716e401376a9e8253) - 用于FastAPI和Starlette的异步事件调度\u002F处理库。 参考地址：https:\u002F\u002Fgithub.com\u002Fmelvinkcx\u002Ffastapi-events\n- [FastAPI FeatureFlags](#\u002Fctoplus_article\u002Faaa762b9d8034a40b88fddc13505d5bd) - 简单的FastAPI功能标志的实现。 参考地址：https:\u002F\u002Fgithub.com\u002FPytlicek\u002Ffastapi-featureflags\n- [FastAPI Jinja](#\u002Fctoplus_article\u002F46cd3a66427246b19c77c26038fd8d75) - 增加了Jinja模板语言到FastAPI的集成。 参考地址：https:\u002F\u002Fgithub.com\u002FAGeekInside\u002Ffastapi-jinja\n- [FastAPI Lazy](#\u002Fctoplus_article\u002F93ceccfcfed088328d966ad8641e9bc4) - 一个懒惰的包，用于使用FastAPI启动你的项目。 参考地址：https:\u002F\u002Fgithub.com\u002Fyezz123\u002Ffastapi-lazy\n- [FastAPI Limiter](#\u002Fctoplus_article\u002F2c5e60d46c0b79f560ae53369709efae) - 一个用于限制FastAPI请求的工具。 参考地址：https:\u002F\u002Fgithub.com\u002Flong2ice\u002Ffastapi-limiter\n- [FastAPI MQTT](#\u002Fctoplus_article\u002F3af3c8423bbae7c5e84f92d3986c8a50) - 一个 MQTT 协议的扩展。 参考地址：https:\u002F\u002Fgithub.com\u002Fsabuhish\u002Ffastapi-mqtt\n- [FastAPI Opentracing](#\u002Fctoplus_article\u002F437d01e8df74080e1610ee88fd2e8aa9) - Opentracing 中间件和数据库跟踪支持FastAPI。 参考地址：https:\u002F\u002Fgithub.com\u002Fwesdu\u002Ffastapi-opentracing\n- [FastAPI Pagination](#\u002Fctoplus_article\u002F46bd710dce4e132732b0677adf12efde) - FastAPI 分页。 参考地址：https:\u002F\u002Fgithub.com\u002Furiyyo\u002Ffastapi-pagination\n- [FastAPI Plugins](#\u002Fctoplus_article\u002Fb415642bbc48151a11a56a5a55bb76cd) - Redis 和 Scheduler 插件。 参考地址：https:\u002F\u002Fgithub.com\u002Fmadkote\u002Ffastapi-plugins\n- [FastAPI ServiceUtils](#\u002Fctoplus_article\u002F92bdbf247e80e4e8c20ca4eefd271caf) - 用于创建API服务的生成器。 参考地址：https:\u002F\u002Fgithub.com\u002Fskallfass\u002Ffastapi_serviceutils\n- [FastAPI SocketIO](#\u002Fctoplus_article\u002F48c93bcf22565dc766b26d7591772926) - FastAPI 和 SocketIO 的简单集成。 参考地址：https:\u002F\u002Fgithub.com\u002Fpyropy\u002Ffastapi-socketio\n- [FastAPI Utilities](#\u002Fctoplus_article\u002F0616fb6ad8d8184f1f13050a44566b21) - 重用的实用程序：基于类的视图，响应推断路由器，定期任务，计时中间件，SQLAlchemy会话，OpenAPI规范简化。 参考地址：https:\u002F\u002Fgithub.com\u002Fdmontagu\u002Ffastapi-utils\n- [FastAPI Websocket Pub\u002FSub](#\u002Fctoplus_article\u002F9ea5e863fa2320d2958f04a55654e7dc) - Websocket pub\u002Fsub 模式，使其在云中的任何地方都可以轻松访问和扩展。 参考地址：https:\u002F\u002Fgithub.com\u002Fauthorizon\u002Ffastapi_websocket_pubsub\n- [FastAPI Websocket RPC](#\u002Fctoplus_article\u002F8917dca85bb52fda54f890b55f29609c) - 通过 Websockets 的 RPC（双向 JSON RPC）变得简单、健壮和生产就绪。 参考地址：https:\u002F\u002Fgithub.com\u002Fauthorizon\u002Ffastapi_websocket_rpc\n- [OpenTelemetry FastAPI Instrumentation](#\u002Fctoplus_article\u002Fa0e61823bb7ca481a264c8b589cdc680) - [OpenTelemetry](https:\u002F\u002Fopentelemetry.io\u002F) 是一个开放的自动跟踪工具包，用于监视应用程序的性能和可用性。 参考地址：https:\u002F\u002Fgithub.com\u002Fopen-telemetry\u002Fopentelemetry-python-contrib\u002Ftree\u002Fmain\u002Finstrumentation\u002Fopentelemetry-instrumentation-fastapi\n- [Prerender Python Starlette](#\u002Fctoplus_article\u002Fce8938ad8599654e758d103a694e6ee0) - 一个用于预渲染爬虫的中间件。 参考地址：https:\u002F\u002Fgithub.com\u002FBeeMyDesk\u002Fprerender-python-starlette\n- [Prometheus FastAPI Instrumentator](#\u002Fctoplus_article\u002Fb49683f711b01a0642c5964835f22d3d) - 一个可配置和模块化的 Prometheus Instrumentator 用于你的 FastAPI 应用程序。 参考地址：https:\u002F\u002Fgithub.com\u002Ftrallnag\u002Fprometheus-fastapi-instrumentator\n- [SlowApi](#\u002Fctoplus_article\u002Fee9a7df0bcc2314b4547d69e7a50adf1) - 限速器（基于 [Flask-Limiter](https:\u002F\u002Fflask-limiter.readthedocs.io)）。 参考地址：https:\u002F\u002Fgithub.com\u002Flaurents\u002Fslowapi\n- [Starlette Context](#\u002Fctoplus_article\u002Ff74cb082ba1fd322b9cb47843dd76f0a) - 允许你在项目的任何地方存储和访问请求数据，对于日志记录很有用。 参考地址：https:\u002F\u002Fgithub.com\u002Ftomwojcik\u002Fstarlette-context\n- [Starlette Exporter](#\u002Fctoplus_article\u002F75505b3eef3a35cd428ad973ecb30838) - 一个用于 FastAPI 和 Starlette 的 Prometheus 集成。 参考地址：https:\u002F\u002Fgithub.com\u002Fstephenhillier\u002Fstarlette_exporter\n- [Starlette OpenTracing](#\u002Fctoplus_article\u002Fc367f4c6740a3f053b8877b4e22236ea) - 对于 Starlette 和 FastAPI 的 Opentracing 支持。 参考地址：https:\u002F\u002Fgithub.com\u002Facidjunk\u002Fstarlette-opentracing\n- [Starlette Prometheus](#\u002Fctoplus_article\u002Fc480a237ca95e98a75d323dc9447d0b7) - FastAPI 和 Starlette 的 Prometheus 集成。 参考地址：https:\u002F\u002Fgithub.com\u002Fperdy\u002Fstarlette-prometheus\n- [Strawberry GraphQL](#\u002Fctoplus_article\u002Fd7e5b43634f017120eadda08dea7e4fc) - 一个基于dataclasses的 Python GraphQL 库。 参考地址：https:\u002F\u002Fgithub.com\u002Fstrawberry-graphql\u002Fstrawberry\n\n接下来我们将对这些第三方库，分别使用单独的文章篇幅来一一介绍，如果你有需要补充的，欢迎联系我们进行追加和补充。","FastAPI Admin第三方管理库全面解析","FastAPI 第三方库介绍","\u002Fpython_webframework\u002Ffastapi_framework\u002Fthird_libs"]