BSD Ports

www/py-websockets 17.1 NetBSD

Implementation of the WebSocket Protocol (RFC 6455)

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
b2b5e5c3a0
License
modified-bsd
Categories
www, python
Package size
280.3 KiB, 2492.2 KiB installed

Description

websockets is a library for developing WebSocket servers and clients in Python. It implements RFC 6455 with a focus on correctness and simplicity. It passes the Autobahn Testsuite.

Built on top of Python's asynchronous I/O support introduced in PEP 3156, it provides an API based on coroutines, making it easy to write highly concurrent applications.

In the other systems

SystemPortVersion
NetBSDwww/py-websockets17.1
DragonFlydevel/py-websockets15.0.1

Install

Binary package:

pkgin install py311-websockets

From pkgsrc:

cd /usr/pkgsrc/www/py-websockets && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6417.1
NetBSD 10.1 aarch6416.0
SmartOS / illumos x86_6417.2
macOS 15 arm6417.2

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-websockets-17.1, py313-websockets-17.1, py314-websockets-17.1

Commit history 6

DateCommitCreditsLog message
b2b5e5c3a0 wiz py-websockets: update to 17.2.
New features Added :meth:`~sync.connection.Connection.wait_closed` to the :mod:`threading` implementation. Improvements :func:`~asyncio.client.connect` now closes connections with close code 1011 (internal error) when exiting the context manager with an exception. Improved error handling when a compression window of size 8 is requested. Bug fixes Fixed handling of percent-encoded credentials in WebSocket and proxy URIs. Fixed a regression from 16.1 where the legacy implementation rejected non-ASCII headers.
23dff270be wiz py-websockets: update to 17.1.
17.1 New features Added support for reconnecting automatically by using :func:`~sync.client.reconnect` as an iterator to the :mod:`threading` implementation. :func:`~sync.client.connect` now follows redirects in the :mod:`threading` implementation. :func:`~sync.client.connect` can connect to another host and port than those specified in the URI in the :mod:`threading` implementation. Improvements Connections are now garbage collected immediately once closed. :func:`~sync.client.unix_connect` and :func:`~sync.server.unix_serve` now accept path-like objects, such as :class:`pathlib.Path`, in the path argument.
1a33dcb675 wiz py-websockets: update to 17.0.1.
trio support.
e1dcb1fdfd wiz py-websockets: add comment about tests
(not intended to be run in distributions)
085c238daf wiz py-websockets: update to 16.1.1.
16.1.1 Bug fixes Reverted a backwards-incompatible change in decoding non-ASCII header values.

The latest 5 of 6 in the history this site was built from.