4 ms·
Microdot is apparently a Python web framework that runs on both CPython and MicroPython. It is a single 765-line file with routing, JSON handling, cookies, str
by emil-lp 1y ago
Microdot is apparently a Python web framework that runs on both CPython and MicroPython.
It is a single 765-line file with routing, JSON handling, cookies, streaming, and TLS. Created to provide a web server for IoT devices.
- homarp 1y agohttps://github.com/miguelgrinberg/microdot https://github.com/miguelgrinberg/microdot with MIT license
- enkrs 1y agoIt’s great on esp32 with MicroPython. Even has support for server sent events (SSE). Paired with htmx, SSE gives some fun intetactive web experience for iot devices - instant GPIO status indicators etc. Loved tinkering with it. The source code is very readable too.