BSD Ports

net/py-wsproto 1.2.0p2 OpenBSD

state-machine based WebSocket protocol implementation

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
net, lang/python

Description

This is a pure-Python implementation of a WebSocket protocol stack. It's written from the ground up to be embeddable in whatever program you choose to use, ensuring that you can communicate via WebSockets, as defined in RFC6455, regardless of your programming paradigm.

It does not provide a parsing layer, a network layer, or any rules about concurrency. Instead, it's a purely in-memory solution, defined in terms of data actions and WebSocket frames. RFC6455 and Compression Extensions for WebSocket via RFC7692 are fully supported.

In the other systems

SystemPortVersion
OpenBSDnet/py-wsproto1.2.0p2
FreeBSDnet/py-wsproto1.3.2
DragonFlynet/py-wsproto1.2.0_1
MidnightBSDnet/py-wsproto1.2.0_1
HardenedBSDnet/py-wsproto1.3.2
GhostBSDnet/py-wsproto1.3.2

Install

Binary package:

pkg_add py3-wsproto

From the ports tree:

cd /usr/ports/net/py-wsproto && make install

Dependencies

Build dependencies 5
Run dependencies 2