{"id":477190,"date":"2023-08-09T09:08:44","date_gmt":"2023-08-09T09:08:44","guid":{"rendered":""},"modified":"2023-09-05T11:14:14","modified_gmt":"2023-09-05T11:14:14","slug":"fastapi","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/fastapi\/","title":{"rendered":"\u30d5\u30a1\u30b9\u30c8API"},"content":{"rendered":"<p>FastAPI \u306f\u3001\u6a19\u6e96\u306e Python \u578b\u30d2\u30f3\u30c8\u306b\u57fa\u3065\u3044\u3066 Python 3.6 \u4ee5\u964d\u3067 API \u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u3001\u9ad8\u6027\u80fd\u3067\u4f7f\u3044\u3084\u3059\u3044 Web \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\u62e1\u5f35\u6027\u304c\u9ad8\u304f\u4f7f\u3044\u3084\u3059\u3044\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u308b\u3068\u540c\u6642\u306b\u3001\u6700\u65b0\u306e Web \u958b\u767a\u306b\u6700\u9069\u306a\u5805\u7262\u306a\u6a5f\u80fd\u30bb\u30c3\u30c8\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<h2>FastAPI \u306e\u8d77\u6e90<\/h2>\n<p>FastAPI \u306f Sebasti\u00e1n Ram\u00edrez \u306b\u3088\u3063\u3066\u4f5c\u6210\u3055\u308c\u30012018 \u5e74 12 \u6708\u306b\u6700\u521d\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002 FastAPI \u3092\u958b\u767a\u3059\u308b\u4e3b\u306a\u52d5\u6a5f\u306f\u3001Python \u306e\u65b0\u6a5f\u80fd\u3001\u7279\u306b Python 3.6 \u4ee5\u964d\u306e\u578b\u30d2\u30f3\u30c8\u3092\u5229\u7528\u3057\u3066\u3001\u975e\u5e38\u306b\u52b9\u7387\u7684\u3067\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a Web \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3057\u305f\u3002 FastAPI \u306b\u3064\u3044\u3066\u306e\u6700\u521d\u306e\u8a00\u53ca\u306f GitHub \u306b\u767b\u5834\u3057\u3001\u305d\u308c\u4ee5\u6765\u3001\u305d\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3001\u4f7f\u3044\u3084\u3059\u3055\u3001\u512a\u308c\u305f\u30b3\u30df\u30e5\u30cb\u30c6\u30a3 \u30b5\u30dd\u30fc\u30c8\u306b\u3088\u308a\u4eba\u6c17\u304c\u9ad8\u307e\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2>FastAPI \u306e\u4e16\u754c\u306e\u5185\u90e8<\/h2>\n<p>FastAPI \u306f\u3001\u578b\u6ce8\u91c8\u306e\u6982\u5ff5\u3068 Web \u30d1\u30fc\u30c4\u7528\u306e\u5f37\u529b\u306a Starlette \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u6d3b\u7528\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u306b\u306f Pydantic \u3082\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3089 2 \u3064\u306e\u57fa\u672c\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068 FastAPI \u306e\u72ec\u81ea\u306e\u6a5f\u80fd\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001FastAPI \u306f Web \u958b\u767a\u306e\u305f\u3081\u306e\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ed6\u306e Web \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u306f\u7570\u306a\u308a\u3001FastAPI \u306f\u975e\u540c\u671f\u306b\u306a\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001\u8907\u6570\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u540c\u6642\u306b\u51e6\u7406\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u975e\u540c\u671f\u6027\u306f\u3001Python \u306e async \u30ad\u30fc\u30ef\u30fc\u30c9\u3068 await \u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u5b9f\u73fe\u3055\u308c\u308b\u305f\u3081\u3001FastAPI \u306f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u512a\u308c\u305f\u9078\u629e\u80a2\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>FastAPI \u306e\u4e3b\u306a\u6a5f\u80fd<\/h2>\n<p>FastAPI \u306b\u306f\u3001\u4ed6\u306e Web \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u306f\u7570\u306a\u308b\u3055\u307e\u3056\u307e\u306a\u6a5f\u80fd\u304c\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>\u901f\u3044<\/strong>: \u3053\u308c\u306f\u3001Python \u3067\u5229\u7528\u3067\u304d\u308b\u6700\u901f\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e 1 \u3064\u3067\u3042\u308a\u3001\u901f\u5ea6\u306e\u70b9\u3067\u306f NodeJS \u3068 Go \u306b\u6b21\u3050\u3082\u306e\u3067\u3059\u3002<\/li>\n<li><strong>\u7c21\u5358<\/strong>: \u958b\u767a\u8005\u306b\u3068\u3063\u3066\u975e\u5e38\u306b\u4f7f\u3044\u3084\u3059\u304f\u3001\u5b9a\u578b\u7684\u306a\u30b3\u30fc\u30c9\u304c\u5c11\u306a\u304f\u3066\u6e08\u3080\u305f\u3081\u3001\u65b0\u3057\u3044\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u3082\u5b66\u3073\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u76f4\u611f\u7684<\/strong>: FastAPI \u306f\u3001Python \u306e\u578b\u30d2\u30f3\u30c8\u3092\u5229\u7528\u3057\u3066\u3001\u81ea\u52d5\u30c7\u30fc\u30bf\u691c\u8a3c\u3001\u30b7\u30ea\u30a2\u30eb\u5316\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5316\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u6a19\u6e96\u30d9\u30fc\u30b9<\/strong>: FastAPI \u306f\u3001API \u306e\u30aa\u30fc\u30d7\u30f3\u6a19\u6e96\u3067\u3042\u308b OpenAPI (\u4ee5\u524d\u306f Swagger \u3068\u3057\u3066\u77e5\u3089\u308c\u3066\u3044\u307e\u3057\u305f) \u304a\u3088\u3073 JSON \u30b9\u30ad\u30fc\u30de\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059 (\u305d\u3057\u3066\u5b8c\u5168\u306a\u4e92\u63db\u6027\u304c\u3042\u308a\u307e\u3059)\u3002<\/li>\n<li><strong>\u5c48\u5f37<\/strong>: OAuth2 \u8a8d\u8a3c\u51e6\u7406\u3001JSON Web \u30c8\u30fc\u30af\u30f3\u3001HTTP\/2\u3001\u304a\u3088\u3073 WebSocket \u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb<\/strong>: FastAPI \u306f\u975e\u540c\u671f\u30ea\u30af\u30a8\u30b9\u30c8\u51e6\u7406\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u9577\u6642\u9593\u306e\u63a5\u7d9a\u3084\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u66f4\u65b0\u3092\u51e6\u7406\u3059\u308b\u5834\u5408\u306b\u6700\u9069\u3067\u3059\u3002<\/li>\n<\/ol>\n<h2>FastAPI \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7a2e\u985e<\/h2>\n<p>FastAPI \u306f\u5206\u985e\u3067\u306f\u306a\u304f\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308b\u305f\u3081\u3001FastAPI \u306b\u306f\u7279\u5b9a\u306e\u300c\u30bf\u30a4\u30d7\u300d\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305f\u3060\u3057\u3001\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u306e Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>API<\/strong>: \u4e3b\u306b\u3001\u5805\u7262\u3067\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a API \u3092\u4f5c\u6210\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<li><strong>\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/strong>\uff1a\u672c\u683c\u7684\u306aWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u306b\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9<\/strong>: FastAPI \u306f\u3001\u305d\u306e\u901f\u5ea6\u3068\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u306b\u3088\u308a\u3001\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u306b\u6700\u9069\u306a\u9078\u629e\u80a2\u3067\u3059\u3002<\/li>\n<li><strong>\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/strong>: WebSocket \u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>FastAPI \u3092\u4f7f\u7528\u3057\u305f\u5b9f\u969b\u306e\u4f7f\u7528\u4f8b\u3068\u554f\u984c\u89e3\u6c7a<\/h2>\n<p>FastAPI \u306f\u3001\u30d5\u30a3\u30f3\u30c6\u30c3\u30af\u304b\u3089\u30d0\u30a4\u30aa\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u306b\u81f3\u308b\u307e\u3067\u306e\u696d\u754c\u3067\u3001RESTful API \u3084\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u4e88\u6e2c\u30b5\u30fc\u30d0\u30fc\u306a\u3069\u306e\u69cb\u7bc9\u306a\u3069\u306e\u30bf\u30b9\u30af\u306b\u5e83\u304f\u63a1\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>API \u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306e\u4e00\u822c\u7684\u306a\u554f\u984c\u306e 1 \u3064\u306f\u3001\u5165\u529b\u30c7\u30fc\u30bf\u306e\u691c\u8a3c\u3067\u3059\u3002 FastAPI \u306f\u3001Python \u306e\u578b\u30d2\u30f3\u30c8\u3068\u30c7\u30fc\u30bf\u691c\u8a3c\u3092\u81ea\u52d5\u5316\u3059\u308b Pydantic \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3057\u307e\u3059\u3002\u3082\u3046 1 \u3064\u306e\u4e00\u822c\u7684\u306a\u554f\u984c\u306f\u3001\u975e\u540c\u671f\u30bf\u30b9\u30af\u306e\u7ba1\u7406\u3067\u3059\u3002 FastAPI \u306b\u306f\u3001Python \u306e asyncio \u306e\u30b5\u30dd\u30fc\u30c8\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u975e\u540c\u671f\u30bf\u30b9\u30af\u306e\u51e6\u7406\u304c\u7c21\u5358\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>FastAPI \u3068\u4ed6\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u6bd4\u8f03<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7279\u5fb4<\/th>\n<th>\u30d5\u30a1\u30b9\u30c8API<\/th>\n<th>\u30d5\u30e9\u30b9\u30b3<\/th>\n<th>\u30b8\u30e3\u30f3\u30b4<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30b9\u30d4\u30fc\u30c9<\/td>\n<td>\u3059\u3054\u304f\u9ad8\u3044<\/td>\n<td>\u9069\u5ea6<\/td>\n<td>\u9069\u5ea6<\/td>\n<\/tr>\n<tr>\n<td>\u5b66\u7fd2\u66f2\u7dda<\/td>\n<td>\u4f4e\u3044<\/td>\n<td>\u4f4e\u3044<\/td>\n<td>\u9ad8\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u67d4\u8edf\u6027<\/td>\n<td>\u9ad8\u3044<\/td>\n<td>\u9ad8\u3044<\/td>\n<td>\u9069\u5ea6<\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3<\/td>\n<td>\u9ad8\u3044<\/td>\n<td>\u9069\u5ea6<\/td>\n<td>\u9ad8\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u8535\u6a5f\u80fd<\/td>\n<td>\u9ad8\u3044<\/td>\n<td>\u9069\u5ea6<\/td>\n<td>\u9ad8\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u975e\u540c\u671f\u30b5\u30dd\u30fc\u30c8<\/td>\n<td>\u306f\u3044<\/td>\n<td>\u3044\u3044\u3048<\/td>\n<td>\u3044\u3044\u3048<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>FastAPI \u306e\u5c06\u6765<\/h2>\n<p>FastAPI \u306e\u5c06\u6765\u306f\u6709\u671b\u306b\u898b\u3048\u307e\u3059\u3002\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u305f\u3081\u3001\u8ca2\u732e\u8005\u306e\u6570\u306f\u5897\u3048\u7d9a\u3051\u3066\u304a\u308a\u3001\u65b0\u3057\u3044\u6a5f\u80fd\u3084\u6539\u5584\u304c\u671f\u5f85\u3067\u304d\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002 FastAPI \u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u63a1\u7528\u3059\u308b\u4f01\u696d\u304c\u5897\u3048\u3066\u3044\u308b\u305f\u3081\u3001FastAPI \u306f Python Web \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u4e16\u754c\u306b\u304a\u3044\u3066\u4eca\u5f8c\u3082\u4e0d\u53ef\u6b20\u306a\u5b58\u5728\u3067\u3042\u308a\u7d9a\u3051\u308b\u3068\u8003\u3048\u3066\u9593\u9055\u3044\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9 \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3001\u30b3\u30f3\u30c6\u30ca\u5316\u3001\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u306a\u3069\u306e\u65b0\u3057\u3044\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u3082 FastAPI \u3068\u4e92\u63db\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u3053\u308c\u3089\u306e\u65b0\u3057\u3044\u30d1\u30e9\u30c0\u30a4\u30e0\u306b\u5408\u308f\u305b\u3066\u9069\u5fdc\u3057\u3001\u6210\u9577\u3059\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u3068FastAPI<\/h2>\n<p>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u4ed6\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u30ea\u30bd\u30fc\u30b9\u3092\u6c42\u3081\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u4ef2\u4ecb\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002 FastAPI \u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3059\u308b\u3068\u3001\u8ffd\u52a0\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5c64\u3001\u8ca0\u8377\u5206\u6563\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001\u4e00\u822c\u7684\u306a\u4f7f\u7528\u4f8b\u3067\u306f\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306e\u80cc\u5f8c\u3067 FastAPI \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068 FastAPI \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u9593\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u5fdc\u7b54\u3092\u51e6\u7406\u3067\u304d\u307e\u3059\u3002 FastAPI \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u306e\u5fdc\u7b54\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u304d\u308b\u305f\u3081\u3001\u8ca0\u8377\u304c\u8efd\u6e1b\u3055\u308c\u3001\u5fdc\u7b54\u6642\u9593\u304c\u77ed\u7e2e\u3055\u308c\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30ec\u30fc\u30c8\u5236\u9650\u3084\u7279\u5b9a\u306e IP \u30a2\u30c9\u30ec\u30b9\u306e\u30d6\u30ed\u30c3\u30af\u306a\u3069\u3001\u8ffd\u52a0\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u3092\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<ul>\n<li>FastAPI GitHub \u30ea\u30dd\u30b8\u30c8\u30ea: <a href=\"https:\/\/github.com\/tiangolo\/fastapi\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/github.com\/tiangolo\/fastapi<\/a><\/li>\n<li>FastAPI \u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8: <a href=\"https:\/\/fastapi.tiangolo.com\/\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/fastapi.tiangolo.com\/<\/a><\/li>\n<li>\u30b9\u30bf\u30fc\u30ec\u30c3\u30c8 GitHub \u30ea\u30dd\u30b8\u30c8\u30ea: <a href=\"https:\/\/github.com\/encode\/starlette\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/github.com\/encode\/starlette<\/a><\/li>\n<li>Pydantic GitHub \u30ea\u30dd\u30b8\u30c8\u30ea: <a href=\"https:\/\/github.com\/samuelcolvin\/pydantic\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/github.com\/samuelcolvin\/pydantic<\/a><\/li>\n<li>OpenAPI \u30a4\u30cb\u30b7\u30a2\u30c1\u30d6: <a href=\"https:\/\/www.openapis.org\/\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/www.openapis.org\/<\/a><\/li>\n<li>JSON \u30b9\u30ad\u30fc\u30de: <a href=\"https:\/\/json-schema.org\/\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/json-schema.org\/<\/a><\/li>\n<\/ul>","protected":false},"featured_media":468376,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-477190","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>FastAPI: A Revolution in Web Development<\/mark>","faq_items":[{"question":"What is FastAPI?","answer":"<p>FastAPI is a high-performance web framework for building APIs with Python 3.6+. It is designed to be efficient, user-friendly, and supports asynchronous request handling.<\/p>"},{"question":"Who created FastAPI and when was it first released?","answer":"<p>FastAPI was created by Sebasti\u00e1n Ram\u00edrez and was first released in December 2018.<\/p>"},{"question":"What are the key features of FastAPI?","answer":"<p>FastAPI boasts several key features, including high speed, easy-to-use development, automatic data validation, and compatibility with open standards like OpenAPI and JSON Schema. It also supports OAuth2 authentication, JSON Web Tokens, HTTP\/2, and WebSockets.<\/p>"},{"question":"What types of applications can be built using FastAPI?","answer":"<p>FastAPI can be used to build a variety of applications, including APIs, web applications, microservices, and real-time applications.<\/p>"},{"question":"How does FastAPI compare to other frameworks like Flask and Django?","answer":"<p>When compared to Flask and Django, FastAPI stands out with its blazing speed, low learning curve, high flexibility, and excellent scalability. Additionally, it supports asynchronous request handling, which the other frameworks lack.<\/p>"},{"question":"What is the future outlook for FastAPI?","answer":"<p>The future of FastAPI looks promising as it is an open-source project with a growing community of contributors. It is expected to adapt to emerging technologies like serverless architecture and microservices.<\/p>"},{"question":"How can proxy servers be used with FastAPI?","answer":"<p>Proxy servers can be combined with FastAPI to provide additional security, load balancing, and caching. They act as intermediaries between the client and FastAPI application, enhancing performance and security.<\/p>"},{"question":"Where can I find more information about FastAPI?","answer":"<p>For more information about FastAPI, you can visit the official GitHub repository (<a href=\"https:\/\/github.com\/tiangolo\/fastapi\" target=\"_new\">https:\/\/github.com\/tiangolo\/fastapi<\/a>) or the official documentation (<a href=\"https:\/\/fastapi.tiangolo.com\/\" target=\"_new\">https:\/\/fastapi.tiangolo.com\/<\/a>). You may also explore related resources like Starlette (<a href=\"https:\/\/github.com\/encode\/starlette\" target=\"_new\">https:\/\/github.com\/encode\/starlette<\/a>) and Pydantic (<a href=\"https:\/\/github.com\/samuelcolvin\/pydantic\" target=\"_new\">https:\/\/github.com\/samuelcolvin\/pydantic<\/a>) used in conjunction with FastAPI.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477190\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/468376"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=477190"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}