pip install uvicorn[\standard\] fastapi[\all\]
# or
pip install -r requirements.txt
- uvicorn
- 読み方例:アバコーン
- 非同期処理特化の Web サーバー
- ASGI(Asynchronous Server Gateway Interface)と呼ばれる Python の Web サーバと Web アプリケーションが通信するための WSGI(Web Server Gateway Interface)の後継のインターフェース定義
- pydantic
- Python で型定義できるライブラリ
- async def の謎
- sqlite3 のチートシート
/docs
で FastAPI のドキュメントが自動出力される