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("/")
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.3.2.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for uwebserver-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59f34337300b5cf03b6cbbca8f59f6894dd3147cef6033c6eb4ad9128994b234 |
|
MD5 | 95965b4f842ed60da568003908503556 |
|
BLAKE2b-256 | 2266e8a74cf6e40971c42a99ac803e219513555ba489a226029f7df930e54776 |