de814acad2d8952cecaaa1fe1bdd29d27c6b88bb
Some checks failed
build / lint (push) Successful in 2m15s
build / tests (ubuntu-latest, 3.10) (push) Successful in 24s
build / tests (ubuntu-latest, 3.11) (push) Successful in 21s
build / tests (ubuntu-latest, 3.12) (push) Successful in 22s
build / tests (ubuntu-latest, 3.13) (push) Successful in 17s
build / tests (ubuntu-latest, 3.14) (push) Successful in 46s
build / tests (ubuntu-latest, 3.8) (push) Successful in 39s
build / tests (ubuntu-latest, 3.9) (push) Successful in 22s
build / tests-micropython (push) Successful in 12s
build / tests-circuitpython (push) Successful in 12s
build / coverage (push) Failing after 49s
build / benchmark (push) Successful in 55s
build / tests (macos-latest, 3.10) (push) Has been cancelled
build / tests (macos-latest, 3.11) (push) Has been cancelled
build / tests (macos-latest, 3.12) (push) Has been cancelled
build / tests (macos-latest, 3.13) (push) Has been cancelled
build / tests (macos-latest, 3.14) (push) Has been cancelled
build / tests (macos-latest, 3.8) (push) Has been cancelled
build / tests (macos-latest, 3.9) (push) Has been cancelled
build / tests (windows-latest, 3.10) (push) Has been cancelled
build / tests (windows-latest, 3.11) (push) Has been cancelled
build / tests (windows-latest, 3.12) (push) Has been cancelled
build / tests (windows-latest, 3.13) (push) Has been cancelled
build / tests (windows-latest, 3.14) (push) Has been cancelled
build / tests (windows-latest, 3.8) (push) Has been cancelled
build / tests (windows-latest, 3.9) (push) Has been cancelled
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
- Change Log
- Documentation
- Legacy (v1)
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)
- 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!
Languages
Python
99.3%
Shell
0.5%
Dockerfile
0.2%