
Fastapi Local Dev
A practical runbook that cuts through FastAPI deployment confusion with the commands you actually need. It covers the essentials: Uvicorn with reload for development, the WSL polling workaround that saves you from headaches when file watching breaks, and the proper Gunicorn setup for production with UvicornWorker. The anti-patterns section alone is worth it, steering you away from combining reload with multiple workers or using PM2's watch mode for Python apps. It's the kind of reference you keep handy because you'll forget these flags between projects, and Googling them always pulls up outdated Stack Overflow threads. Nothing groundbreaking, just solid ops knowledge in a quick reference format.
- skills.sh installs
- 356
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill fastapi-local-dev --agent claude-codeInstalls into .claude/skills of the current project.
Files
FastAPI Local Dev
- Dev:
uvicorn app.main:app --reload - Imports: run from repo root; use
python -m uvicorn ...orPYTHONPATH=. - WSL:
WATCHFILES_FORCE_POLLING=trueif reload misses changes - Prod:
gunicorn app.main:app -k uvicorn.workers.UvicornWorker -w <n> --bind :8000
Anti-patterns:
--reload --workers > 1- PM2
watch: truefor Python
References: references/.
Sponsors
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- Category
- Python
- First seen
- Jun 3, 2026
More from bobmatnyc/claude-mpm-skills
All 158- Vb Winforms356
- Headlessui355
- Jest Typescript354
- Vercel Networking Domains353
- Svelte352
- Sec Edgar Pipeline351
- Env Manager350
- Mongodb350
- Vb Core350
- Phoenix Api Channels348
- Digitalocean Containers Images347
- Hono Jsx347
- Langgraph346
- Pr Quality Checklist346
- Ecto Patterns345
- Vercel Observability345
- Media Transcoding344
- Clap341
- Phoenix Ops341
- Prisma Orm341
- Graphql340
- Pre Merge339
- Vb6 Legacy338
- Vercel Functions Runtime338