Skip to main content

Async server for userv

Project description

The catch

Simple async webserver


First we need to add routes to a router. After this we can add a task to the async loop with:


from userv.routing import Router
from userv.async_server import run_server
router = Router()


Now we have added the current app to the event loop and we still have to run the event loop.


from uasyncio import get_event_loop
loop = get_event_loop()

Now the server will run and serve your data.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

userv.async_server-0.3.4.tar.gz (1.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page