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

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)
  • 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.5.1.tar.gz (84.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.5.1-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for microdot-2.5.1.tar.gz
Algorithm Hash digest
SHA256 08007ee58553d17c8adc6128b8230f151100a1357670bdedef1ab2ae14e54213
MD5 0e1b13af7fcfbabd650afd241a12152b
BLAKE2b-256 a24a5e3900bf3de7332d13dcfdec7d19b20286b380b328aaeafcbf3ead56d577

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for microdot-2.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17e19592d44fd41e183efc5603f4a885cddfaa7236974351f155709192348a18
MD5 da6f092c5973d9612957e5cfc81285c7
BLAKE2b-256 3613358e1d651f13077209fc2fbd635d1508d1996d28a062171d9dfd6d6c8404

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