Skip to content

Simple, fast and memory efficient web server for MicroPython.

License

Notifications You must be signed in to change notification settings

0x4aK/uWebServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple, fast and memory efficient web server for MicroPython.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages