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

Uploaded Source

Built Distribution

websockets-2.7-py33.py34-none-any.whl (33.0 kB view details)

Uploaded Python 3.3 Python 3.4

File details

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

File metadata

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

File hashes

Hashes for websockets-2.7.tar.gz
Algorithm Hash digest
SHA256 a2aef81a0881e9c856071bd96cd1da5d6e050d910cdc49bb43373242d05ce813
MD5 8b442b1ddb27627a6e7aacd38f8ab7f1
BLAKE2b-256 ae5f8dab9f068d8083cd10f069bade24217fd43da6efeb080640a9fc52a6d149

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for websockets-2.7-py33.py34-none-any.whl
Algorithm Hash digest
SHA256 f66bad0e7f3a1dd2d2e5e3fac5cc1643918cc1eb00c89e6ea7badba071101570
MD5 4389f3e259c854c1e407f77791052c89
BLAKE2b-256 1cc16d8949f64e724b728ed94748bc3f1e02df723ef4d93af7d34bfcd87cd6ed

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