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("/")
async 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.2.1.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for uwebserver-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecc24c3bf0ffdd6feb57b52a3b39c845d848ef1f24a33eaafd79d9b8dd1e0aac |
|
MD5 | 208956977e3e0d3b60fee2d766f77eef |
|
BLAKE2b-256 | 4b01061ec31a9f3aad26fabb7ddebb55618ef33d73fd472a814bb2e06c103bcc |