repowiserepowise

App

miguelgrinberg / microdot

Mirror of https://code.miguelgrinberg.com/miguelgrinberg/microdot

★ 2,157stars on GitHubPythonMIT

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
microdot facts
TypeApp
LicenseMIT
Code health7.5 / 10 (Good)
Health rank#85 of 4,000+ indexed repos
Last commitSep 18, 2026
Contributors20
Bus factor1
Size171 files, 10,651 lines

Explore microdot

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.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/miguelgrinberg/microdot
Claude Code, Claude, Cursor and VS Code sign you in on first use, free. Codex and Windsurf need an API key: sign in to create one.Sign in for a key

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

7.5out of 10Good

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.