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.

Files for userv.async-server, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size userv.async_server-0.3.1.tar.gz (1.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page