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()
Resources
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.
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-dataformat (Added in version 2.2) - CSRF protection extension (Added in version 2.5)
- Type hints (Added in version 2.6)
- 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!
Sponsor this project
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!
Release files for microdot 2.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| microdot-2.7.0.tar.gz | 91.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| microdot-2.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 145.1 kB
Release files / microdot-2.7.0.tar.gz
| Download URL | microdot-2.7.0.tar.gz |
|---|---|
| Size | 91.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e11f39f0f5564bb5db69f728902740ed592d632ae7a03e24ca3a88cd59ad2f53
|
|
BLAKE2b-256 checksum How to use checksums |
b2b904cb0f0aef0643c6beea7b72729a1cb6057b18ca9c68263f01c0cd046d4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / microdot-2.7.0-py3-none-any.whl
| Download URL | microdot-2.7.0-py3-none-any.whl |
|---|---|
| Size | 53.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e9b7b825372e1ba8ebd4c59b6180e15c71f4b5200ec4bcbf8c9f9b5652db379
|
|
BLAKE2b-256 checksum How to use checksums |
8b87734a5d5a38bda98b822eeb3abdb2de3449f0782d3d114b2f037986c08629
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|