App
miguelgrinberg / microdot
Mirror of https://code.miguelgrinberg.com/miguelgrinberg/microdot
Releases on GitHub (latest v2.7.0, Sep 18, 2026)
Repowise maps public repos from their source. Not affiliated with miguelgrinberg. What is Repowise?
github.com/miguelgrinberg/microdotIndexed at 7742db9Up to date with upstreamRefreshes on every push
What is microdot?
Microdot is a minimalistic web framework for Python and MicroPython, inspired by Flask. It lets developers map URLs to handler functions, which receive a request and return a response. Because it is small, it can run on systems with limited resources such as microcontrollers. Its main language is Python. Its code health is 7.5 out of 10 (Good), ranked #85 of 4,000+ indexed repos. The last commit to microdot was on Sep 18, 2026, and 20 people have contributed.
As of commit 7742db9, indexed Oct 3, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentsmicrodot.md
Repo facts: type, license, health, rank, contributors
| Type | App |
|---|---|
| License | MIT |
| Code health | 7.5 / 10 (Good) |
| Health rank | #85 of 4,000+ indexed repos |
| Last commit | Sep 18, 2026 |
| Contributors | 20 |
| Bus factor | 1 |
| Size | 171 files, 10,651 lines |
Explore microdot
- DocumentationModule-by-module documentation, 189 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Ask about this code in your agent
This connects Repowise to microdot's code. It does not install microdot.
Useful if you want to change or fork microdot: your agent can ask how it is put together and get answers that cite its files.
Show the connect command (Claude Code, Cursor, Codex, VS Code)
Run it in a terminal, then type /mcp in Claude Code and sign in with Repowise. No key to paste.
Docsclaude mcp add --transport http repowise https://api.repowise.dev/mcp/miguelgrinberg/microdot
This repo is public, so anyone with a free Repowise account can connect.
Try asking
- get_overview()
- get_answer("how is microdot put together?")
- get_why("why is microdot structured this way?")
Ask about microdot
Answers come from microdot's README and source, with the files they cite. Two free answers a day without an account.
Want this for your own codebase? Map your repo free
About this page
Get a page like this for your own codebase
Repowise built this map of miguelgrinberg/microdot from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
miguelgrinberg/microdot FAQ
What is Microdot?
Microdot is a minimalistic Python web framework inspired by Flask. It is small enough to run on systems with limited resources such as microcontrollers.
How does Microdot work?
Microdot maps URL routes to handler functions registered with a decorator on an application object. Each handler receives the request and returns a response, and the application is started with its run method.
What language is Microdot written in?
Microdot is written in Python and supports both standard Python (CPython) and MicroPython.
How is the Microdot code organized?
Core framework code is in src/microdot, with type declarations in typings/microdot and MicroPython and CircuitPython support in libs. Example applications live in the examples directory, and tests are under tests.
Who is Microdot for?
Microdot is for developers who want a small web framework for Python, including MicroPython targets with limited resources such as microcontrollers.
What license does Microdot use?
Microdot uses the MIT license.
Code health
Hotspots average 2.0, the place fixes pay off most.
On the leaderboards:#3 of 8 Python web frameworks#19 of 64 Python repos
Key features of microdot
- Routes are defined with a decorator on an application object, and each handler is a plain function that takes the request.
- It runs on standard Python (CPython) and on MicroPython.
- Its small size lets it run on systems with limited resources such as microcontrollers.
- It is minimalistic and inspired by Flask.
- An application is started with a run call on the application object.
How miguelgrinberg/microdot works
Application code creates a Microdot object and registers handler functions with its route decorator, which matches URL patterns and HTTP methods. The core framework lives in src/microdot/microdot.py, which dispatches each incoming request to the matching handler. The typings/microdot directory declares type contracts for protocol adapters for WSGI and ASGI, and for features such as authentication, CORS and CSRF protection. For MicroPython targets, libs/micropython and libs/circuitpython provide the module support the framework relies on, and libs/circuitpython/asyncio/core.py defines the scheduling and event loop primitives used by async code. The examples/subapps/app.py file shows how sub-applications are composed into a larger app.
The codebase has 171 files and 1,225 symbols in 8 modules, led by Python, Shell and Dockerfile. Code health is 7.5 out of 10, rated good.
Maintain miguelgrinberg/microdot?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of miguelgrinberg/microdot. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask microdot's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/miguelgrinberg/microdot?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/miguelgrinberg/microdot?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/miguelgrinberg/microdot.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/miguelgrinberg/microdot?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/miguelgrinberg/microdot.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/miguelgrinberg/microdot.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>