from pkg/DESCR:

websockets is a library for building WebSocket servers and clients
in Python with a focus on correctness, simplicity, robustness, and
performance.

Built on top of asyncio, Python's standard asynchronous I/O framework,
it provides an elegant coroutine-based API.

***

This is a very common websocket implementation as per https://repology.org/project/python:websockets/versions.

***

`python3.9 -m unittest` runs fine from ${WRKDIST} with:

Ran 1016 tests in 4.833s

FAILED (failures=9)

***

Note that the PyPi and Github versions are out of sync. PyPi has version 10.3 on 20220417, while Github moved to 10.4 at the same time:

https://github.com/aaugustin/websockets/commit/3742b429a25d5f51511b626435c6a1acdd9027a3

***

In terms of CATEGORIES not sure of best option.

OpenBSD ports has:
www/libwebsockets
net/py-websocket-client (for which it's an optional TEST_DEPEND)

So I went with net/ for now.

g

Attachment: py-websockets-10.4.tgz
Description: Binary data

Reply via email to