Simple web server for micropython
Project description
uWebServer
Simple, fast and memory efficient web server for MicroPython.
✅ Features
- Compatible with CPython.
- Type hints.
- Static files with GZip compression.
✏️ Examples
import asyncio
# Importing `Request` and `Response` optional, used for typehinting
from uwebserver import Request, Response, WebServer
app = WebServer()
@app.route("/")
def hello(req: Request, resp: Response):
return "Hello world!"
asyncio.run(app.run())
Check out 📁examples for more
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uwebserver-0.3.0.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for uwebserver-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f0e80abe028fd6dbadeaf98a336f981425c19703067ab1d39811927dc9f671 |
|
MD5 | e1146e79f4311634d90dbd0f30752e0e |
|
BLAKE2b-256 | f7bfbee2a99178b680e4dd630bada266979645e37b0b7da7fcc9e7063c3674e2 |