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.3.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for uwebserver-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c57bffbd74fd7fb030f6c2a6b5c4c44038969b6bca77d44bf29ba9c634bddc26 |
|
MD5 | 30cee86d63b0fa6dd4287358cd18f225 |
|
BLAKE2b-256 | 38add1fad248b2c5061c6ede01b161c4d9bc59759e5d772f13d744be17dd0d85 |