Quotidien Shaarli

Tous les liens d'un jour sur une page.

October 6, 2024

miguelgrinberg/microdot: The impossibly small web framework for Python and MicroPython.
thumbnail

microdot

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()