repowiserepowise
Sign in
tiangolo/fastapi
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisetiangolo/fastapi
FA
FA

tiangolo / fastapi

FastAPI framework, high performance, easy to learn, fast to code, ready for production

Python★ 102,259
Use in your agentAsk this codebase

github.com/tiangolo/fastapi·Indexed at 50113da·19d ago·Up to date with upstream

About this codebase

FastAPI is an end-to-end web API framework where you declare parameters and payloads once as function parameters, and it uses Pydantic and Starlette to run your app and serve interactive API docs for clients. Developers use FastAPI to build web APIs with Python types—optionally deploying with FastAPI Cloud—while relying on the framework’s “Interactive API docs” and “Alternative API docs” to validate and explore endpoints. Under the hood, requests flow through routing and response handling, and the framework produces HTTP responses, websocket interactions, and OpenAPI-driven documentation artifacts from your declared function signatures.

Written by gpt-5.4-nano from the index

2,886 files and 6,475 symbols in 5 modules, led by Python (1,138 files) and Shell (5).

Start reading

  • Knowledge graph2,886 files and how they depend on each other.→
  • Playwright Cookie Parameter ModelsDocumentationDocumentation for scripts/playwright/cookie_param_models, written by gpt-5.4-nano.→
  • Contributors3 people: who owns what, and where one person holds most of the knowledge.→

Code health

9.3out of 10Excellent

This codebase scores 9.3 out of 10 for code health, which we rate excellent. It also scores maintainability 9.3 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 14 of 2,886 files are git hotspots, and they average 4.0 — which is where the fixes pay off most.

Full health report →

Do next

Nothing stands out in the week to Sep 1, the last indexed commit.

Improve what Repowise can see

  • Add a test coverage report

    Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.

    line coverage
    Unknown, no report
    Small effort
All actions in the Overview →

Use tiangolo/fastapi in your agent

Point Claude Code, Cursor, Codex or VS Code at this repository. Your agent gets the index this page is built from: cited answers, callers, history and health for any file.

https://api.repowise.dev/mcp/tiangolo/fastapi

One command, run anywhere. Adds the server to your local Claude Code config.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/tiangolo/fastapi \
  --header "Authorization: Bearer rw_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
The snippet shows a placeholder key. Generate one to get a copyable secret.
Sign in and create an API key to connect.Sign in

This repo is public, so anyone with a Repowise account and an API key can connect.

Try asking

  • get_overview()
  • get_answer("how is fastapi put together?")
  • get_why("why is fastapi structured this way?")

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed.

Go deeper

  • OverviewEverything the index found, what changed this week, commits and decisions.→
  • DocumentationModule-by-module documentation, 1,377 pages, 11 written by a model.→
  • ArchitectureDependency graph, layers and third-party dependencies.→
  • Code healthEvery file's score, the findings behind it, tests and refactoring plans.→
  • CommitsEach commit's effect on code health, with agent provenance.→
  • ContributorsWho owns what, and where one person holds most of the knowledge.→
  • DecisionsArchitectural decisions mined from commits and pull requests.→
  • Ask this codebaseSign inGrounded answers over the indexed code.→

For maintainers

Add a badge to your README

Both badges are public, cached, and update on their own after every index. Nothing to install.

Repowise badge

Links to this page. Adding it also re-indexes the repo every week.

Repowise badge: explore code
[![repowise](https://api.repowise.dev/badge/wiki/tiangolo/fastapi.svg)](https://repowise.dev/repo/tiangolo/fastapi)

Code health badge

Average health across every file, straight from the latest index.

Code health badge showing the average health score out of 10
[![Code health](https://api.repowise.dev/badge/health/tiangolo/fastapi.svg)](https://repowise.dev/repo/tiangolo/fastapi)

How tiangolo/fastapi works

FastAPI framework, high performance, easy to learn, fast to code, ready for production This page is a map of the tiangolo/fastapi repository, written primarily in Python, rebuilt from the source each time it is indexed. Repowise parses every symbol, computes a dependency graph, scores per-file code health from complexity, duplication, test coverage and churn, mines git history for hotspots and ownership, and lifts the architectural decisions into documentation you can read here or query through MCP.

The codebase has 2,886 files and 6,475 symbols in 5 modules, led by Python, Shell and JavaScript. Code health is 9.3 out of 10, rated excellent.

Use the links above to open each view, or connect this repository to your agent for grounded answers inside Claude, Cursor, Codex or VS Code.