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

Uploaded Source

Built Distribution

microdot-2.0.1-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: microdot-2.0.1.tar.gz
  • Upload date:
  • Size: 59.1 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.1.tar.gz
Algorithm Hash digest
SHA256 b2bdbcca1cf8b4d97bba093bee5c1ccc2e2b5aea80c07810203f2a370563a258
MD5 d0dad938a9a0eab1c7323869750a281b
BLAKE2b-256 a64ab07b8c07b9d60f122243e163206f71d4b56dc6a3ca1520ab71b04a90155f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: microdot-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 30.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88dbc0213abf49ebd71260b752132a3ea375ea2496f7964f8109793384148f4c
MD5 c67e93d399fd23a4095efc05a15bde36
BLAKE2b-256 425dd52c66787cd587866239831712396756e1b63b3f8cf57b565c2e2f1109ef

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