Simple web server for micropython
Project description
uWebServer
TODO: simple slogan
Features
- Simple interface
Examples
import asyncio
from uwebserver import Request, Response, WebServer
app = WebServer()
@app.route("/")
async def hello(req: Request, resp: Response):
resp.set_content_type("text/html")
return "<h1>Hello World</h1>"
asyncio.run(app.run())
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.1.1.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for uwebserver-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 041199878d495ac3731ceda234732a8e301382ade7ae6a65096212aeb771dc8a |
|
MD5 | fcf1ae6a10fc886c8ea2c558743e8faf |
|
BLAKE2b-256 | 6990558da5c689b38e6bc4914436f07062d9f53feb237a3220831541ec52847c |