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.2.tar.gz (89.4 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.2-py3-none-any.whl (53.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for microdot-2.6.2.tar.gz
Algorithm Hash digest
SHA256 7bb9a69fa97a47d8fe07e61d9dd405804744132ca52d26705cf1173431ff7f4b
MD5 5060fe1a6fe9c2715fe1406ef0ff6a47
BLAKE2b-256 8dfbbd10145088c6da0abd8ea67d4255056354e8c7a7b976f5a0db3b707a33a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: microdot-2.6.2-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.5

File hashes

Hashes for microdot-2.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 206c52870e3b1d5e6d387802e2ed0afae8c4598c80542a21e3efe377efc128c8
MD5 d49e072c2086146731df7b164d37e93a
BLAKE2b-256 ed35af2148cc9408b29b1e3bc44e4d64c56ed9565b2a8520cab864aff1cad1f4

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