Contents

uvloop 0.22.1

0

Fast implementation of asyncio event loop on top of libuv

Fast implementation of asyncio event loop on top of libuv

Stars: 11649, Watchers: 11649, Forks: 600, Open Issues: 150

The MagicStack/uvloop repo was created 10 years ago and the last code push was 2 weeks ago.
The project is extremely popular with a mindblowing 11649 github stars!

How to Install uvloop

You can install uvloop using pip

pip install uvloop

or add it to a project with poetry

poetry add uvloop

Package Details

Author
None
License
MIT License
Homepage
None
PyPi:
https://pypi.org/project/uvloop/
GitHub Repo:
https://github.com/MagicStack/uvloop

Classifiers

  • System/Networking
No  uvloop  pypi packages just yet.

Errors

A list of common uvloop errors.

Code Examples

Here are some uvloop code examples and snippets.

GitHub Issues

The uvloop package has 150 open issues on GitHub

  • Create loop in get_event_loop if needed
  • Optimize context.run by making custom C Functions for it
  • (Feature request) loop.create_task to accept arbitrary **kwargs
  • fix: guard debug stack walk
  • uvloop debug mode crashes on Python 3.14 during async generator finalization (traceback.walk_stack sees non-frame object)
  • inconsistent file descriptor blocking state when running in asyncio vs uvloop
  • Increase test_issue39_regression alarm time
  • Update the example to work with 3.14
  • Fix start_tls() loses buffer data and hangs when upgrading the connection
  • start_tls() loses buffered data and doesn't work when upgrading a stream
  • Segfault in uvloop 0.22.1
  • asyncio.get_event_loop raises error instead of spawning new loop when no loop is running.
  • Fails to build on Raspbian 13
  • Improve SSL performance by avoiding SSLWantReadError exception and using much faster checks whenever possible
  • Implement sock_sendto

See more issues on GitHub

Related Packages & Articles

fastapi 0.129.0

FastAPI framework, high performance, easy to learn, fast to code, ready for production