Skip to main content

An implementation of the WebSocket Protocol (RFC 6455)

Project description

websockets is a library for developing WebSocket servers and clients in Python. It implements RFC 6455 with a focus on correctness and simplicity. It passes the Autobahn Testsuite.

Built on top of Python’s asynchronous I/O support introduced in PEP 3156, it provides an API based on coroutines, making it easy to write highly concurrent applications.

Installation is as simple as pip install websockets. It requires Python ≥ 3.4 or Python 3.3 with the asyncio module, which is available with pip install asyncio.

Documentation is available on Read the Docs.

Bug reports, patches and suggestions welcome! Just open an issue or send a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

websockets-3.4.tar.gz (41.6 kB view hashes)

Uploaded Source

Built Distributions

websockets-3.4-cp36-cp36m-win_amd64.whl (51.2 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

websockets-3.4-cp36-cp36m-win32.whl (50.7 kB view hashes)

Uploaded CPython 3.6m Windows x86

websockets-3.4-cp36-cp36m-manylinux1_x86_64.whl (54.8 kB view hashes)

Uploaded CPython 3.6m

websockets-3.4-cp36-cp36m-manylinux1_i686.whl (54.2 kB view hashes)

Uploaded CPython 3.6m

websockets-3.4-cp36-cp36m-macosx_10_6_intel.whl (48.7 kB view hashes)

Uploaded CPython 3.6m macOS 10.6+ intel

websockets-3.4-cp35-cp35m-win_amd64.whl (51.2 kB view hashes)

Uploaded CPython 3.5m Windows x86-64

websockets-3.4-cp35-cp35m-win32.whl (50.7 kB view hashes)

Uploaded CPython 3.5m Windows x86

websockets-3.4-cp35-cp35m-manylinux1_x86_64.whl (54.8 kB view hashes)

Uploaded CPython 3.5m

websockets-3.4-cp35-cp35m-manylinux1_i686.whl (54.2 kB view hashes)

Uploaded CPython 3.5m

websockets-3.4-cp35-cp35m-macosx_10_6_intel.whl (48.7 kB view hashes)

Uploaded CPython 3.5m macOS 10.6+ intel

websockets-3.4-cp34-cp34m-win_amd64.whl (47.2 kB view hashes)

Uploaded CPython 3.4m Windows x86-64

websockets-3.4-cp34-cp34m-win32.whl (47.5 kB view hashes)

Uploaded CPython 3.4m Windows x86

websockets-3.4-cp34-cp34m-manylinux1_x86_64.whl (52.8 kB view hashes)

Uploaded CPython 3.4m

websockets-3.4-cp34-cp34m-manylinux1_i686.whl (52.2 kB view hashes)

Uploaded CPython 3.4m

websockets-3.4-cp34-cp34m-macosx_10_6_intel.whl (46.8 kB view hashes)

Uploaded CPython 3.4m macOS 10.6+ intel

websockets-3.4-cp33-cp33m-win_amd64.whl (47.3 kB view hashes)

Uploaded CPython 3.3m Windows x86-64

websockets-3.4-cp33-cp33m-win32.whl (47.5 kB view hashes)

Uploaded CPython 3.3m Windows x86

websockets-3.4-cp33-cp33m-manylinux1_x86_64.whl (52.8 kB view hashes)

Uploaded CPython 3.3m

websockets-3.4-cp33-cp33m-manylinux1_i686.whl (52.2 kB view hashes)

Uploaded CPython 3.3m

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page