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 on 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 or in the Tulip repository.

Documentation is available at http://aaugustin.github.io/websockets/.

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for websockets-2.1.tar.gz
Algorithm Hash digest
SHA256 56fa0a3e5027127204d80d7ebd91db495d344c54e43953b65ce8e6d9aa57da5b
MD5 2e395216a6af15b9e686b057cf28a3f1
BLAKE2b-256 41b87f87226e5cbc52f8d022a8ec5b3d5460083664ae3ea0ad411df1318fc8c8

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