Skip to main content

The impossibly small web framework for MicroPython

Project description

microdot

Build status codecov

“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 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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

microdot-2.6.0.tar.gz (90.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

microdot-2.6.0-py3-none-any.whl (53.2 kB view details)

Uploaded Python 3

File details

Details for the file microdot-2.6.0.tar.gz.

File metadata

  • Download URL: microdot-2.6.0.tar.gz
  • Upload date:
  • Size: 90.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for microdot-2.6.0.tar.gz
Algorithm Hash digest
SHA256 363e3ebfc80b7e0415779848c9332e4e7fb7bd365ee54d3620abffe42ed82946
MD5 82cfed694bcbfeb8bbafc3424fc48b0b
BLAKE2b-256 57d670d2ae79279733619294d63f642c8c43b84d7d6cb0ceeb583d46d4cf2ae6

See more details on using hashes here.

File details

Details for the file microdot-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: microdot-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 53.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for microdot-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abfb82ca31cc430174e4761cc7356adc4bff00ea758d437c2b258883dc63f464
MD5 5de6a7f34d871b96bfc5d4e8f0aa7792
BLAKE2b-256 e803ca4df13be595dc775538fec6df70a5e0d8378b9e7af8e163548a283a3d82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page