BSD Ports

devel/py-uvloop 0.22.1 NetBSD

Fast implementation of asyncio event loop on top of libuv

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
mit AND apache-2.0
Categories
devel, python
Package size
554.2 KiB, 2329.3 KiB installed

Description

uvloop is a fast, drop-in replacement of the built-in asyncio event loop.

uvloop and asyncio, combined with the power of async/await in Python 3.5, makes it easier than ever to write high-performance networking code in Python.

uvloop makes asyncio fast. In fact, it is at least 2x faster than nodejs, gevent, as well as any other Python asynchronous framework. The performance of uvloop-based asyncio is close to that of Go programs.

In the other systems

SystemPortVersion
NetBSDdevel/py-uvloop0.22.1
FreeBSDdevel/py-uvloop0.23.0
OpenBSDdevel/py-uvloop0.22.1p0
DragonFlydevel/py-uvloop0.21.0_1
MidnightBSDdevel/py-uvloop0.21.0_2

Install

Binary package:

pkgin install py312-uvloop

From pkgsrc:

cd /usr/pkgsrc/devel/py-uvloop && make install clean

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py313-uvloop-0.22.1, py314-uvloop-0.22.1

Commit history 2

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
8f459aff06 adam py-uvloop: updated to 0.23.0
0.23.0 Changes Add Python 3.15 and 3.15t wheel builds and CI coverage Add support for the eager_start keyword argument in create_task() Add thread name prefix to the default thread pool executor Add support for special hostname <broadcast> Upgrade libuv to v1.52.1 Improve performance by using Python C API to enter/exit context Improve performance/latency of Transport.write Replace some SSL vectorcall with direct methods Optimize SSL buffered reads using C values Fixes Detach socket on create_connection cancellation to prevent fd double-close Remove loop._ready_len in favor of len(loop._ready) Prefer inspect.iscoroutinefunction Fix context tests by explicitly yielding after run_in_executor Fix test_create_connection_open_con_addr with Python 3.13.9+ …