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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uwebserver-0.3.2.tar.gz.
File metadata
- Download URL: uwebserver-0.3.2.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8816fc9f1fc4180f08f72a70185ceb980a19ae070f8d727b3675d0e793251fe0
|
|
| MD5 |
29c5250924728e47d7f98e3d587dccea
|
|
| BLAKE2b-256 |
9b1a92417fce7c51ea837c8cdf39e333dbdc962dd6fcc4ec85de2b66d44d56a0
|
File details
Details for the file uwebserver-0.3.2-py3-none-any.whl.
File metadata
- Download URL: uwebserver-0.3.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59f34337300b5cf03b6cbbca8f59f6894dd3147cef6033c6eb4ad9128994b234
|
|
| MD5 |
95965b4f842ed60da568003908503556
|
|
| BLAKE2b-256 |
2266e8a74cf6e40971c42a99ac803e219513555ba489a226029f7df930e54776
|