Mirror of https://code.miguelgrinberg.com/miguelgrinberg/microdot
See the code“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()
The following links are for legacy version 1 of Microdot:
Note that version 1 is no longer maintained, so you should consider migrating to version 2. See the migration notes for help.
The following features are planned for future releases of Microdot, both for MicroPython and CPython:
multipart/form-data format (Added in version 2.2)Do you have other ideas to propose? Let's discuss them!
This project relies on contributions from its users. If you benefit from it please consider making a single or ongoing monetary contribution in one of the following platforms:
Thank you!
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
2,703 followers · starred Feb 2023
30,141 followers · starred Nov 2023
690 followers · starred Jan 2024
399 followers · starred Feb 2025
Mirror of https://code.miguelgrinberg.com/miguelgrinberg/microdot
See the code“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()
The following links are for legacy version 1 of Microdot:
Note that version 1 is no longer maintained, so you should consider migrating to version 2. See the migration notes for help.
The following features are planned for future releases of Microdot, both for MicroPython and CPython:
multipart/form-data format (Added in version 2.2)Do you have other ideas to propose? Let's discuss them!
This project relies on contributions from its users. If you benefit from it please consider making a single or ongoing monetary contribution in one of the following platforms:
Thank you!
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
2,703 followers · starred Feb 2023
30,141 followers · starred Nov 2023
690 followers · starred Jan 2024
399 followers · starred Feb 2025