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()

Migrating to Microdot 2

Version 2 of Microdot incorporates feedback received from users of earlier releases, and attempts to improve and correct some design decisions that have proven to be problematic.

For this reason most applications built for earlier versions will need to be updated to work correctly with Microdot 2. The Migration Guide describes the backwards incompatible changes that were made.

Resources

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.0.5.tar.gz (60.9 kB view details)

Uploaded Source

Built Distribution

microdot-2.0.5-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: microdot-2.0.5.tar.gz
  • Upload date:
  • Size: 60.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for microdot-2.0.5.tar.gz
Algorithm Hash digest
SHA256 ddb2736d1a0f4972270cfc5747a21fd8a5deac655011fdba43882ef9ccc0c7af
MD5 5f7e70282fdf982a77a5778ddefef388
BLAKE2b-256 35f88f330b5df70c0b072385630ca5f76e13dc75fd74975f76f59473a764e1fc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: microdot-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 31.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for microdot-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 625e4acc0725171d10f7377d06af0e6be066522ae14900d4e4bc7f97dbb35511
MD5 fbe2290d62f7c79caba755bbbac66c49
BLAKE2b-256 17317dfce80286b4ec58cdfeff40b85fa492cf5e48a05004445686cc9cb237c0

See more details on using hashes here.

Provenance

Supported by

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