# miguelgrinberg/microdot

The impossibly small web framework for Python and MicroPython.

Repository: https://github.com/miguelgrinberg/microdot
Canonical: https://ross.abutalabs.com/products/microdot
Language: Python
License: MIT
License Family: permissive
Topics: python, micropython, http, webserver, webapp
Last push: 2026-08-09T11:20:15+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 71, longevity 100
- inputs: {"age_days": 2724, "days_push": 24, "days_rel": 113, "gap_med": 33.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2140, forks 155 (observed 2026-08-28T04:06:18.366805+00:00)

## What it is
Microdot is a minimalistic async web framework for Python and MicroPython, inspired by Flask, designed to run on resource-constrained systems like microcontrollers. It supports routing, WebSockets, SSE, authentication, and form handling in a tiny footprint.

## Use cases
- build a rest api on an esp32 with micropython
- serve a small web app from a microcontroller
- run a lightweight http server with async handlers
- host a websocket endpoint on embedded hardware
- create a flask-like web app without heavy dependencies

## When to choose
- you need a web server on a microcontroller or memory-limited device
- you want a Flask-like API in a tiny dependency-free package
- you need async request handling in CPython or MicroPython

## When to avoid
- you need a full-featured framework with built-in ORM, admin, or large ecosystem
- you are building a high-traffic production web service
- you rely on extensive third-party Flask extensions

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, http-server, routing, websocket, templating
- domain: web-development, backend, iot, embedded-systems
- platform: python, cross-platform, embedded, iot
- tags: micropython, flask-inspired, async, microcontrollers, minimalist

## Member repositories
- miguelgrinberg/microdot (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:18.366805+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:51:29.277914+00:00, confidence not recorded.
  - readme: https://github.com/miguelgrinberg/microdot (fetched 2026-08-28T04:06:18.366805+00:00, sha d8befb59f9c5)
  - registry_pypi: https://pypi.org/pypi/microdot/json (fetched 2026-08-29T10:31:26.394180+00:00, sha ae0759a88298)
- Data as of 2026-08-30T08:39:29.467469+00:00.
