Miguel Grinberg de814acad2
Some checks failed
build / lint (push) Successful in 2m15s
build / tests (ubuntu-latest, 3.10) (push) Successful in 24s
build / tests (ubuntu-latest, 3.11) (push) Successful in 21s
build / tests (ubuntu-latest, 3.12) (push) Successful in 22s
build / tests (ubuntu-latest, 3.13) (push) Successful in 17s
build / tests (ubuntu-latest, 3.14) (push) Successful in 46s
build / tests (ubuntu-latest, 3.8) (push) Successful in 39s
build / tests (ubuntu-latest, 3.9) (push) Successful in 22s
build / tests-micropython (push) Successful in 12s
build / tests-circuitpython (push) Successful in 12s
build / coverage (push) Failing after 49s
build / benchmark (push) Successful in 55s
build / tests (macos-latest, 3.10) (push) Has been cancelled
build / tests (macos-latest, 3.11) (push) Has been cancelled
build / tests (macos-latest, 3.12) (push) Has been cancelled
build / tests (macos-latest, 3.13) (push) Has been cancelled
build / tests (macos-latest, 3.14) (push) Has been cancelled
build / tests (macos-latest, 3.8) (push) Has been cancelled
build / tests (macos-latest, 3.9) (push) Has been cancelled
build / tests (windows-latest, 3.10) (push) Has been cancelled
build / tests (windows-latest, 3.11) (push) Has been cancelled
build / tests (windows-latest, 3.12) (push) Has been cancelled
build / tests (windows-latest, 3.13) (push) Has been cancelled
build / tests (windows-latest, 3.14) (push) Has been cancelled
build / tests (windows-latest, 3.8) (push) Has been cancelled
build / tests (windows-latest, 3.9) (push) Has been cancelled
Version 2.5.2.dev0
2025-12-21 10:50:51 +00:00
2025-12-21 00:06:49 +00:00
2025-12-20 19:43:08 +00:00
2025-12-21 10:50:51 +00:00
2024-08-15 20:40:54 +01:00
2023-06-20 12:34:59 +01:00
2025-12-21 10:50:34 +00:00
2019-04-16 12:00:41 +01:00
2025-12-21 10:50:51 +00:00
2025-12-21 09:46:48 +00:00
2024-01-31 23:43:17 +00:00
2021-09-27 13:57:04 +01:00
2025-12-21 00:06:49 +00:00

microdot

Build status codecov

“The impossibly small web framework for Python and MicroPython”

Microdot is a minimalistic Python web framework inspired by Flask. Given its small size, it can run on systems with limited resources such as microcontrollers. Both standard Python (CPython) and MicroPython are supported.

from microdot import Microdot

app = Microdot()

@app.route('/')
async def index(request):
    return 'Hello, world!'

app.run()

Resources

Roadmap

The following features are planned for future releases of Microdot, both for MicroPython and CPython:

  • Authentication support, similar to Flask-Login for Flask (Added in version 2.1)
  • Support for forms encoded in multipart/form-data format (Added in version 2.2)
  • CSRF protection extension (Added in version 2.5)
  • Pub/sub mini-framework for WebSocket and SSE
  • OpenAPI integration, similar to APIFairy for Flask

Do you have other ideas to propose? Let's discuss them!

Description
The impossibly small web framework for Python and MicroPython.
Readme MIT 3.7 MiB
Languages
Python 99.3%
Shell 0.5%
Dockerfile 0.2%