Skip to main content

Microdot

tests

“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-data format (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!

Metadata

Release files for microdot 2.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for microdot 2.8.0
File Size Uploaded Provenance Actions
microdot-2.8.0.tar.gz 95.8 kB Without provenance Details for microdot-2.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for microdot 2.8.0
File Interpreter ABI Platform Actions
microdot-2.8.0-py3-none-any.whl Python 3 none any Details for microdot-2.8.0-py3-none-any.whl

Total release size: 149.6 kB

Release files / microdot-2.8.0.tar.gz

Download URL microdot-2.8.0.tar.gz
Size 95.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6df12ce0c0cdf2a8a0d8d23a4038f37612dd853f76f7e02e01ed92a8974e7e67
BLAKE2b-256 checksum
How to use checksums
e4c7562c5acd4ada6557e290591744f8f44b9acfc459639f8a31d325cf20b192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / microdot-2.8.0-py3-none-any.whl

Download URL microdot-2.8.0-py3-none-any.whl
Size 53.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2206aa4477fbf7046389739c4667b308ad8d688719d1391fca1dab4a8044fc1f
BLAKE2b-256 checksum
How to use checksums
ba8935a7e699c46e8e16882ea6a8b94c9a6db46c50677a7f8e3838fa2b7e134c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for microdot 2.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.8.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page