BSD Ports

net/py-wsproto 1.2.0_1 MidnightBSD

Sans-IO WebSocket protocol implementation

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
net, python

Description

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.

This 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.

See also: https://github.com/python-hyper/wsproto/

In the other systems

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

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}wsproto

From mports:

cd /usr/mports/net/py-wsproto && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wsproto>0:net/py-wsproto

Dependencies

As this port's Makefile names them.

Runtime 1

Test 1

Run dependencies 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
wsproto-1.2.0.tar.gz53425ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065
Master sites 1
  • PYPI