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.2.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for uwebserver-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26f8b7b2dd2dd123d5e8d1558a09740dca1b189a5f0523b7d2b002d1f759ae67 |
|
MD5 | e64c1269ce9e1a3a7229171d6fbe595f |
|
BLAKE2b-256 | 9046693b399fa03d2a5b4e8632d77cdc84a1fc7c78ef85f70d94c7cb3d415ebb |