Microdot: A Tiny Web Framework for Microcontrollers
At EuroPython 2025, Miguel Grinberg presented Microdot, a lightweight web framework running on both MicroPython and CPython, suitable for systems ranging from IoT devices to cloud servers. Inspired by Flask but significantly smaller, Microdot's creation stemmed from Grinberg's experience with a faulty smart thermostat in his Irish home. He built a MicroPython-based system to control heating and used Microdot to create a simple web interface for monitoring temperature and humidity. Microdot's core is remarkably concise at 765 lines of code, supporting asynchronous operations and common features, with extensions providing advanced functionality. Its design emphasizes simplicity and avoids complexity, making it ideal for building web applications on microcontrollers.