uvloop

0.22.1 · active · verified Sat Mar 28

uvloop is a fast, drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and built on top of libuv. The current version is 0.22.1, and it follows a regular release cadence with active maintenance.

Warnings

Install

Imports

Quickstart

A basic example demonstrating how to use uvloop as the event loop for asyncio applications.

import asyncio
import uvloop

async def main():
    # Your asynchronous code here
    pass

uvloop.run(main())

view raw JSON →