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

Uploaded Source

Built Distribution

microdot-2.0.0-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for microdot-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d06fc8b39bcfff11aecabc3afafa8f27bfb7146ddefe7d0759a42d8d7b1070ad
MD5 95411b6ef202b1ee17380e087fe28584
BLAKE2b-256 7a103e5b9ef9c70f55d23fb656e64081060aa46bd14c5dc509d89b10b81559ff

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for microdot-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b67fdbc27876a56ff000f272bb41ff53b52acf3cd6b36c255bc0c05e53d4ac4
MD5 f69ec300b5a3857a3b679d58af6a34f0
BLAKE2b-256 beee4eb5e41432926f2e149a67a951059e170bf773ebbdb3c6e10bedac6371a3

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