| 1 |
Getting started |
| 2 |
=============== |
| 3 |
|
| 4 |
.. currentmodule:: websockets |
| 5 |
|
| 6 |
Requirements |
| 7 |
------------ |
| 8 |
|
| 9 |
websockets requires Python ≥ 3.11. |
| 10 |
|
| 11 |
.. admonition:: Use the most recent Python release |
| 12 |
:class: tip |
| 13 |
|
| 14 |
For each minor version (3.x), only the latest bugfix or security release |
| 15 |
(3.x.y) is officially supported. |
| 16 |
|
| 17 |
It doesn't have any dependencies. |
| 18 |
|
| 19 |
.. _install: |
| 20 |
|
| 21 |
Installation |
| 22 |
------------ |
| 23 |
|
| 24 |
Install websockets with: |
| 25 |
|
| 26 |
.. code-block:: console |
| 27 |
|
| 28 |
$ pip install websockets |
| 29 |
|
| 30 |
Wheels are available for all platforms. |
| 31 |
|
| 32 |
Tutorial |
| 33 |
-------- |
| 34 |
|
| 35 |
Learn how to build an real-time web application with websockets. |
| 36 |
|
| 37 |
.. toctree:: |
| 38 |
:maxdepth: 2 |
| 39 |
|
| 40 |
tutorial1 |
| 41 |
tutorial2 |
| 42 |
tutorial3 |
| 43 |
|
| 44 |
In a hurry? |
| 45 |
----------- |
| 46 |
|
| 47 |
These examples will get you started quickly with websockets. |
| 48 |
|
| 49 |
.. toctree:: |
| 50 |
:maxdepth: 2 |
| 51 |
|
| 52 |
examples |