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.0.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for uwebserver-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afbc29430868f6723f4c551490702bccfc6425e2b8e9e339523d9428113ce79d |
|
MD5 | 351b10395243dd4a720cbc8e77f4e6ba |
|
BLAKE2b-256 | 7cedf91117d23df12490e7b507f8cf7f81d97b7a2720bd9fda33efbe35d30115 |