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
| System | Port | Version |
|---|---|---|
| MidnightBSD | net/py-wsproto | 1.2.0_1 |
| FreeBSD | net/py-wsproto | 1.3.2 |
| OpenBSD | net/py-wsproto | 1.2.0p2 |
| DragonFly | net/py-wsproto | 1.2.0_1 |
| HardenedBSD | net/py-wsproto | 1.3.2 |
| GhostBSD | net/py-wsproto | 1.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
${PYTHON_PKGNAMEPREFIX}h11>=0.9.0: net/py-h11
Test 1
${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest
Run dependencies 1
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| wsproto-1.2.0.tar.gz | 53425 | ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065 |
Master sites 1
- PYPI