How To Install python3-wsproto on Fedora 36

In this tutorial we learn how to install python3-wsproto in Fedora 36. python3-wsproto is WebSockets state-machine based protocol implementation

Introduction

In this tutorial we learn how to install python3-wsproto on Fedora 36.

What is python3-wsproto

wsproto is a pure-Python implementation of a WebSocket protocol stack. It is 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. wsproto does not provide a parsing layer, a network layer, or any rules about concurrency. Instead, it is 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. wsproto supports Python 2.7 and 3.5 or higher.

We can use yum or dnf to install python3-wsproto on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-wsproto.

Install python3-wsproto on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-wsproto using dnf by running the following command:

sudo dnf -y install python3-wsproto

Install python3-wsproto on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-wsproto using yum by running the following command:

sudo yum -y install python3-wsproto

How To Uninstall python3-wsproto on Fedora 36

To uninstall only the python3-wsproto package we can use the following command:

sudo dnf remove python3-wsproto

python3-wsproto Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/wsproto
/usr/lib/python3.10/site-packages/wsproto-1.0.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/wsproto-1.0.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/wsproto-1.0.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/wsproto-1.0.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/wsproto-1.0.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/wsproto-1.0.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/wsproto/__init__.py
/usr/lib/python3.10/site-packages/wsproto/__pycache__
/usr/lib/python3.10/site-packages/wsproto/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/connection.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/connection.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/events.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/events.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/extensions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/extensions.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/frame_protocol.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/frame_protocol.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/handshake.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/handshake.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/typing.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/typing.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/utilities.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wsproto/__pycache__/utilities.cpython-310.pyc
/usr/lib/python3.10/site-packages/wsproto/connection.py
/usr/lib/python3.10/site-packages/wsproto/events.py
/usr/lib/python3.10/site-packages/wsproto/extensions.py
/usr/lib/python3.10/site-packages/wsproto/frame_protocol.py
/usr/lib/python3.10/site-packages/wsproto/handshake.py
/usr/lib/python3.10/site-packages/wsproto/py.typed
/usr/lib/python3.10/site-packages/wsproto/typing.py
/usr/lib/python3.10/site-packages/wsproto/utilities.py
/usr/share/doc/python3-wsproto
/usr/share/doc/python3-wsproto/README.rst
/usr/share/licenses/python3-wsproto
/usr/share/licenses/python3-wsproto/LICENSE

References

Summary

In this tutorial we learn how to install python3-wsproto on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).