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.0.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

websockets-3.0-py33.py34.py35-none-any.whl (36.9 kB view details)

Uploaded Python 3.3 Python 3.4 Python 3.5

File details

Details for the file websockets-3.0.tar.gz.

File metadata

  • Download URL: websockets-3.0.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for websockets-3.0.tar.gz
Algorithm Hash digest
SHA256 0c66f44dc1f1bfffa8605f93cfb26491464883cab4d868b6b5d3687f9862c70a
MD5 6575c706f010a5a52a449b3c2dbba84d
BLAKE2b-256 84d6e4311f01b27a80c1a331b20db81355abb76e63811f20f78d7b1a9d440f65

See more details on using hashes here.

File details

Details for the file websockets-3.0-py33.py34.py35-none-any.whl.

File metadata

File hashes

Hashes for websockets-3.0-py33.py34.py35-none-any.whl
Algorithm Hash digest
SHA256 cf86f3dce4da9c823de25f727d4fcdc1e4fba8d72d6fbb4a5d796986cd811d5c
MD5 1b823fba1cfb7540ac95d47dcf4da3cc
BLAKE2b-256 031ef9bb74f8a468cb55caffaa62ffe4ff1586323c427e8c3cad3d4a7c415b2c

See more details on using hashes here.

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