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.1.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for uwebserver-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bad59fbfbe8a1a4bef544a25595d036c670bbc2e351968e3bd1b34a243e0b6c |
|
MD5 | 491ca76b9c594d333be680f0c97e3d57 |
|
BLAKE2b-256 | 445c8331d34975a98b0957d3cee0c0fdbedd35baa2f63855e9ec104c07644545 |