Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

websockets

We develop and maintain a great library for building WebSocket servers and clients in Python.
Collective - Host: opensource - https://opencollective.com/websockets - Website: https://websockets.readthedocs.io/ - Code: https://github.com/python-websockets/websockets

Improve implementation of test_recv_cancelled.

Use an explicit cancellation after 1ms instead of a timeout after 1s to
cancel recv(). This make...

github.com/python-websockets/websockets - d3219088d393f4e7bc6d7610d21c8b0d0580dfb2 authored over 9 years ago by Aymeric Augustin <[email protected]>
Client is allowed to close the connection.

Remove more comments related to my misunderstanding of this point.

github.com/python-websockets/websockets - dc711581a48e2f9b57dee98aecc716128654154e authored over 9 years ago by Aymeric Augustin <[email protected]>
Add receive_eof to match receive_frame.

Clarify how the connection close sequence works in asyncio transports.

Remove two tests for a s...

github.com/python-websockets/websockets - b6120037b71752443bddd683eaba620ef5ea5dab authored over 9 years ago by Aymeric Augustin <[email protected]>
Rename feed to receive_frame.

This is more explicit.

github.com/python-websockets/websockets - 56ad98fc1f0ba025edfa172f7b4caef31978d2d4 authored over 9 years ago by Aymeric Augustin <[email protected]>
Materialize the transport mock in its own class.

github.com/python-websockets/websockets - 2437caa994e5a6cbfa79674ec99805890ee2e7c0 authored over 9 years ago by Aymeric Augustin <[email protected]>
Initialize worker when reader/writer are available.

Theoretically there was a race condition here.

github.com/python-websockets/websockets - 0bf62b695f128e451f13bc5e6b7f655781c8393f authored over 9 years ago by Aymeric Augustin <[email protected]>
Remove unneeded mock attribute.

The implementation of asyncio must have changed since it was added.

github.com/python-websockets/websockets - a3444c4dc39d452cb2b1cd368b5ec1b6972d2972 authored over 9 years ago by Aymeric Augustin <[email protected]>
Add an environment variable to adjust test timeouts.

github.com/python-websockets/websockets - 6e9f7e4bdecdc6c4f95603a74611ec40dfad2c60 authored over 9 years ago by Aymeric Augustin <[email protected]>
Remove a misunderstanding of the specification.

As explained properly in the remainder of the library, clients are
allowed to start the WebSocke...

github.com/python-websockets/websockets - 4bb82d95ae34592fcf861cdaf02faeca0c6a6249 authored over 9 years ago by Aymeric Augustin <[email protected]>
Improve the cheat sheet a bit.

github.com/python-websockets/websockets - 8971978a7ccb2fc0a43739239912ba073905e536 authored over 9 years ago by Aymeric Augustin <[email protected]>
Proof-read and improve the documentation.

* Explain how to serve or connect to wss:// endpoints.
* Make WebSocketURI a public API.
* Add d...

github.com/python-websockets/websockets - 7cb30eaa88fa0b1352d7cbcb0950c74d6cf88eac authored over 9 years ago by Aymeric Augustin <[email protected]>
Add debugging advice.

Try to deflect asyncio-related problems to Python's support channels.

github.com/python-websockets/websockets - c7ee9f2076b02796c76b7816adb334c74c258697 authored over 9 years ago by Aymeric Augustin <[email protected]>
Provide access to HTTP headers as MIME messages.

Document the private API to acces them as a list of (name, value) pairs.

Fix #24.

github.com/python-websockets/websockets - 25d8de0ab0e4c9ffda63997066ebd91959cb1d56 authored over 9 years ago by Aymeric Augustin <[email protected]>
Move documentation of a limitation.

github.com/python-websockets/websockets - 1a1cf65b3472be3a0a061e4207edf4f4d0c5496d authored over 9 years ago by Aymeric Augustin <[email protected]>
Scheme and hostname are case-insensitive.

No code changes are needed because urllib.parse.urlparse already does
the right thing.

github.com/python-websockets/websockets - 1b90eb080a47e369ed01d4ff434d5c37f2a1561e authored over 9 years ago by Aymeric Augustin <[email protected]>
Return a HTTP 403 when Origin isn't allowed.

github.com/python-websockets/websockets - 54f32334490895d63b56ea9c872038292080365a authored over 9 years ago by Aymeric Augustin <[email protected]>
Fix remaining flake8 warnings.

github.com/python-websockets/websockets - 9638bee3b7890c48529e7b93f167d0fdbe14eff1 authored over 9 years ago by Aymeric Augustin <[email protected]>
Allow customizing response headers depending on request headers.

github.com/python-websockets/websockets - ad9f24d56dc21493dba0d88b472096b78b872ebe authored over 9 years ago by Aymeric Augustin <[email protected]>
Use symbolic constants for protocol states.

github.com/python-websockets/websockets - 659cb30126d3cd24b4c05f84499b26efa7e891ad authored over 9 years ago by Aymeric Augustin <[email protected]>
Normalize import style with isort.

github.com/python-websockets/websockets - 739f9d1057cea1e0039b664bbf5f6e88138c46c6 authored over 9 years ago by Aymeric Augustin <[email protected]>
Fix a test case and add another.

github.com/python-websockets/websockets - 25aba2beceda000d89aab969fec96fc1678e6f6a authored over 9 years ago by Aymeric Augustin <[email protected]>
No one remembers what Tulip was.

github.com/python-websockets/websockets - 4bb47d3b6f587785cba0d6210636fec126aa9be6 authored over 9 years ago by Aymeric Augustin <[email protected]>
Uniformize setup and teardown code.

github.com/python-websockets/websockets - 1df3c9989add437fcb1ac7ffc798f7a3e75be56e authored over 9 years ago by Aymeric Augustin <[email protected]>
Start and stop server explicitly in tests.

This is a bit more verbose but avoids the awkward pattern of stopping
the server and restarting ...

github.com/python-websockets/websockets - 01980b8ed6aecd86f36883293d7fc0b71c13ad8d authored over 9 years ago by Aymeric Augustin <[email protected]>
Close sockets correctly in tests.

This prevents spurious ResourceWarnings on Python 3.4.

github.com/python-websockets/websockets - 3b170ad097db8a5b86d574572d283cf981c7b36b authored over 9 years ago by Aymeric Augustin <[email protected]>
Factor out repeated code.

github.com/python-websockets/websockets - e7cdda188006cdc5946551507a252b378609c450 authored over 9 years ago by Aymeric Augustin <[email protected]>
Remove leftover debugging code.

github.com/python-websockets/websockets - c3a71a1405269db361b256af623daebf4202f338 authored over 9 years ago by Aymeric Augustin <[email protected]>
Add flake8 and fix warnings.

github.com/python-websockets/websockets - 6a3ed1ecc6edb788a05783028af1d64dcd25f612 authored over 9 years ago by Aymeric Augustin <[email protected]>
Small adjustments & changelog for previous commit.

Ref #60.

github.com/python-websockets/websockets - 14473689ae0f92f7aee16868fd41665e3ad9aac0 authored over 9 years ago by Aymeric Augustin <[email protected]>
Pass event loop explicitly to all asyncio objects

Fix #60.

github.com/python-websockets/websockets - 381a3641ba997a33e19acb73721e324c96d01635 authored over 9 years ago by Szieberth Ádám <[email protected]>
Very minor cleanup.

github.com/python-websockets/websockets - fb58aa61c8f77e73adb7e591e7a65acbf8470499 authored over 9 years ago by Aymeric Augustin <[email protected]>
Enable asyncio's debug tools in tests.

github.com/python-websockets/websockets - 6624dc8e0a6ca4cdaf8af2e65ba8bbc85589b96a authored over 9 years ago by Aymeric Augustin <[email protected]>
Add a missing "yield from" in a test utility.

Since the result of this method was always yielded from, this bug didn't
have visible effects.

github.com/python-websockets/websockets - 8e406194ed412b06a6c88ec9824684a06a41d3c1 authored over 9 years ago by Aymeric Augustin <[email protected]>
Import collections.abc for Python 3.4.

Thanks @SzieberthAdam for the report and initial patch.

Fix #62.

github.com/python-websockets/websockets - 23878bc5b0ad85d6a2cf6e7f9c80876b99916f23 authored over 9 years ago by Aymeric Augustin <[email protected]>
Documented the fix for #50.

github.com/python-websockets/websockets - a621764215c5abdd78808df7ec9bd1b3c265d39c authored over 9 years ago by Aymeric Augustin <[email protected]>
Merge pull request #50 from Natim/50_timeout_on_recv

Don't swallow the next message when websocket.recv() is cancelled.

github.com/python-websockets/websockets - 8eca627048fd2b03f25d35035d651394f2ec7dff authored over 9 years ago by Aymeric Augustin <[email protected]>
Allow customizing request or response HTTP headers.

Thanks @knutae for providing an initial patch.

Fix #47.

github.com/python-websockets/websockets - 6ce37977296199aa888881b0bfd75ed0f67a2502 authored over 9 years ago by Aymeric Augustin <[email protected]>
Document how to multiplex reads and writes.

Fix #48.

github.com/python-websockets/websockets - 0a815f860550ac89eefd27d626d5b7d02543c48d authored over 9 years ago by Aymeric Augustin <[email protected]>
Add tox configuration file.

github.com/python-websockets/websockets - e8a12dfc54ed23904a1926ef196523d1b07837c7 authored over 9 years ago by Aymeric Augustin <[email protected]>
Add a cheat sheet to the documentation.

Also improve markup while I'm in the area.

github.com/python-websockets/websockets - 8c3e856390a2bc27e3e97c8367e036c166a84e6a authored over 9 years ago by Aymeric Augustin <[email protected]>
Minor fixes.

github.com/python-websockets/websockets - 72bfb7af489001a50c78f9e2f79ec9748d30914f authored over 9 years ago by Aymeric Augustin <[email protected]>
The closing handshake can be initiated by the client.

I had misunderstood the RFC. It's the TCP closing handshake that should
be initiated by the serv...

github.com/python-websockets/websockets - 9469965a6552c038232ae987e473199451295730 authored over 9 years ago by Aymeric Augustin <[email protected]>
Fix #50 — Make sure protocol.recv() can be Cancelled without loosing messages.

github.com/python-websockets/websockets - e65f032116a1ee95f8e80b622362ee813f5158a9 authored almost 10 years ago by Rémy HUBSCHER <[email protected]>
Improve documentation.

github.com/python-websockets/websockets - 7d8191699a6d647c1b45e3e11681c5987437e5b5 authored almost 10 years ago by Aymeric Augustin <[email protected]>
Bump version number.

github.com/python-websockets/websockets - 9b81b7e5da8cc37cd7644ad58ac9648070703fe8 authored almost 10 years ago by Aymeric Augustin <[email protected]>
Automatically bump copyright year in docs.

github.com/python-websockets/websockets - 2893f08c19bddc9912c58821bfbd429e9b98716a authored almost 10 years ago by Aymeric Augustin <[email protected]>
Add support for subprotocols.

Fix #38.

github.com/python-websockets/websockets - 0f1697fcfde2656b8a2b6a2f100dd99b7ec70bb1 authored almost 10 years ago by Aymeric Augustin <[email protected]>
Support non-default event loop.

Fix #42.

github.com/python-websockets/websockets - d62a5f267116ccc575f645f5954d027dd3c41cb0 authored almost 10 years ago by Aymeric Augustin <[email protected]>
Fix compliance tests.

github.com/python-websockets/websockets - 5b204ddec43cea65e53d184b7656fc4cae1d4071 authored almost 10 years ago by Aymeric Augustin <[email protected]>
Bump version number.

github.com/python-websockets/websockets - 67fa773d72b6b3888e86ae65f3d4f89ceb705198 authored about 10 years ago by Aymeric Augustin <[email protected]>
Changelog for 2.3.

github.com/python-websockets/websockets - 0f72a4d80e8ce67febfca1d5f95cbaf952e4ebb3 authored about 10 years ago by Aymeric Augustin <[email protected]>
Second attempt at producing wheels.

Fix #35. Refs #25.

github.com/python-websockets/websockets - 634c329958f5707a687f96d51106a9f17477d355 authored about 10 years ago by Aymeric Augustin <[email protected]>
Improve handling of concurrent close from both sides.

This fixes random failures in the test suite.

github.com/python-websockets/websockets - 43d334f4e19e2a9755c44448b47fa8ff07e9b0fb authored about 10 years ago by Aymeric Augustin <[email protected]>
Connection failures are 1006 errors, not 1002.

github.com/python-websockets/websockets - 1520cc1f2d1310529fdb5164ddfced1e4ac1c080 authored about 10 years ago by Aymeric Augustin <[email protected]>
Normalize tolerance in tests.

github.com/python-websockets/websockets - 2f9c24e9adff980855e5d4c2493a68259e295e68 authored about 10 years ago by Aymeric Augustin <[email protected]>
Prevent incomplete task leak in recv.

github.com/python-websockets/websockets - 1f8bd3ade280a3d7e1254cee7a7379a96a247154 authored about 10 years ago by housleyjk <[email protected]>
Bump version number.

github.com/python-websockets/websockets - 7e4ef005696a956def34fa735422ca4e1ef17197 authored over 10 years ago by Aymeric Augustin <[email protected]>
Document how to write recv and send loops.

Refs #30.

github.com/python-websockets/websockets - edf3a323e657ffd73229d333995e9b583af17920 authored over 10 years ago by Aymeric Augustin <[email protected]>
Add support for limiting message length.

Initial patch by Rui Abreu Ferreira, final patch by Aymeric Augustin.

Fix #28, #29.

github.com/python-websockets/websockets - fdae6c828549a148345bc32aa6de8e10136ca035 authored over 10 years ago by Rui Abreu Ferreira <[email protected]>
Run the event loop a bit to avoid race conditions.

github.com/python-websockets/websockets - c19008269801741af1f32ebf0f7fe1fe0658ead8 authored over 10 years ago by Aymeric Augustin <[email protected]>
Avoid showing stack traces during test runs.

github.com/python-websockets/websockets - 567db4eca52008cd4401124e344ee916f8229d0e authored over 10 years ago by Aymeric Augustin <[email protected]>
Update signatures in docs, especially for Origin checking.

github.com/python-websockets/websockets - 48b9c0226dd4d770b92459b68d0ef073008bacf2 authored over 10 years ago by Aymeric Augustin <[email protected]>
Document how to show stack traces for exceptions in handlers.

github.com/python-websockets/websockets - a01b6ca96e71063af43c0b29d3e1326a8f959f09 authored over 10 years ago by Aymeric Augustin <[email protected]>
Close connection properly when the socket dies.

This avoids flooding logs with messages output by asyncio:
"socket.send() raised exception."

Fi...

github.com/python-websockets/websockets - 90e0494f53c8670a0bd233b1811ea3b596843a5c authored over 10 years ago by Aymeric Augustin <[email protected]>
No more wheels, fix #25.

github.com/python-websockets/websockets - 415b3d560cf3691d465189e07339157e2bff598b authored over 10 years ago by Aymeric Augustin <[email protected]>
Create universal wheels.

github.com/python-websockets/websockets - 481986fd209c5d0667195390b5f1f56f2ee899a7 authored over 10 years ago by Aymeric Augustin <[email protected]>
Bump version number.

github.com/python-websockets/websockets - 07c13192aaa177a86f65acc6041e91d2dd03e2ce authored over 10 years ago by Aymeric Augustin <[email protected]>
Death to unicode literals.

github.com/python-websockets/websockets - bb64dc7aef10d55eebd139255263d35c7a092e76 authored over 10 years ago by Aymeric Augustin <[email protected]>
Rename attributes to raw_request/response_headers.

This leaves room for a better API (with case-insensitive lookup etc.) to
be implemented as reque...

github.com/python-websockets/websockets - ff9e82c912c2fa8581c0acaec364b5563e945cbd authored over 10 years ago by Aymeric Augustin <[email protected]>
Add request and response headers to protocols.

They're lists of 2-uples reflecting the HTTP request and response.

I'm not documenting them yet...

github.com/python-websockets/websockets - a292c73d0f136d650814bdae5257683b7d250055 authored over 10 years ago by Aymeric Augustin <[email protected]>
Add new feature to changelog.

github.com/python-websockets/websockets - cc1de6051f897567a70d0e92ce7809ed458c0851 authored over 10 years ago by Aymeric Augustin <[email protected]>
Reject ws:// URIs with an SSL context.

It seems better to ask for an explicit wss:// URI.

The reverse isn't true: it's reasonable to c...

github.com/python-websockets/websockets - dec978e0c5fbb0e947913427e88bdd92185520fb authored over 10 years ago by Aymeric Augustin <[email protected]>
Add host, port and secure attributes to protocols.

Refs #20.

github.com/python-websockets/websockets - 598f9bac94494a5fd7d757fa440ebdb837949374 authored over 10 years ago by Aymeric Augustin <[email protected]>
Make error handling more robust in the server.

Fix #23.

github.com/python-websockets/websockets - 8d0ebc241c3d318b698e45c64523ee10eba61b68 authored over 10 years ago by Aymeric Augustin <[email protected]>
Fix some resource warnings in tests.

github.com/python-websockets/websockets - 18a809ca6ac546e4a3c0e5ca3540f80bdf42afb9 authored over 10 years ago by Aymeric Augustin <[email protected]>
Incorrect assertion when closing SSL connections.

Fix #22.

github.com/python-websockets/websockets - ad5cb55dfe97d1b107422ca8bd1e7a725ac3b331 authored over 10 years ago by Aymeric Augustin <[email protected]>
Add tests for SSL connections.

github.com/python-websockets/websockets - d744d63ceb45e7de8b1e5a2e39ed9fd39d26fbe6 authored over 10 years ago by Aymeric Augustin <[email protected]>
Use the new super.

github.com/python-websockets/websockets - 429308623165d3e8772c75d38d7e8ce5b191748b authored over 10 years ago by Aymeric Augustin <[email protected]>
Disambiguate URI strings from WebSocketURI tuples.

github.com/python-websockets/websockets - a47fbd5c9cc24320f3d65b1a83fd74900281de56 authored over 10 years ago by Aymeric Augustin <[email protected]>
Disambiguate URI and path.

Technically, handlers receive a "resource_name" or "full_path" ie. a
path + a query string, but ...

github.com/python-websockets/websockets - 53086cf0eabb3503671609edd00985b2c275d22e authored over 10 years ago by Aymeric Augustin <[email protected]>
Add HTTP responses on handshake errors.

github.com/python-websockets/websockets - 69103a2ca1f8b586c0db2fcbb20f3ad9d1e39eb5 authored almost 11 years ago by Aymeric Augustin <[email protected]>
Fix a test that wasn't running.

github.com/python-websockets/websockets - 13bf3354736f219e739dc78e5f5c0cc2ab3058c7 authored almost 11 years ago by Aymeric Augustin <[email protected]>
Implement Origin checking.

github.com/python-websockets/websockets - bfac179d417b44e3678fa4a6fb1ab67cbb3cbe1a authored almost 11 years ago by Aymeric Augustin <[email protected]>
Be more consistent in ReST markup.

github.com/python-websockets/websockets - f714c3fd95bc407a0c59fc496909bf17dc4e9d31 authored almost 11 years ago by Aymeric Augustin <[email protected]>
Bump version number.

github.com/python-websockets/websockets - d03ba5669bd386f8e873a620ff6a5a6926b340b4 authored almost 11 years ago by Aymeric Augustin <[email protected]>
Fix ResourceWarnings under Python 3.4.

github.com/python-websockets/websockets - c9587401f3ba5a890d3d75078c367bbc0b6ac4a3 authored almost 11 years ago by Aymeric Augustin <[email protected]>
Don't rely on `coverage` being in $PATH.

github.com/python-websockets/websockets - 024c4a5c98e5f17805bae271c76eeb63252c1ae8 authored almost 11 years ago by Aymeric Augustin <[email protected]>
Add flow control. Fix #10.

Invoke drain() after each write.

github.com/python-websockets/websockets - b198151cc6a8e35d34fcc751d02534973855f672 authored almost 11 years ago by Aymeric Augustin <[email protected]>
Take advantage of StreamReaderProtocol.

This is a step towards supporting flow control.

Refactor connection termination to better follo...

github.com/python-websockets/websockets - 2bf6a14464a97ffeabad8890b11bc403bd59c91c authored almost 11 years ago by Aymeric Augustin <[email protected]>
AutoBahn no longer reports incorrect failures.

github.com/python-websockets/websockets - 181c8a392c795da19de4f9a8462320ff990a316a authored almost 11 years ago by Aymeric Augustin <[email protected]>
Account for minor API changes in asyncio.

github.com/python-websockets/websockets - 2659246d4e50cc61fdad57f185440609a3b13ce3 authored almost 11 years ago by Aymeric Augustin <[email protected]>
Support ping cancellation.

Fix #8.

github.com/python-websockets/websockets - a13be1f1f2f1af137d1ab256997b1a75079cd59c authored about 11 years ago by Aymeric Augustin <[email protected]>
Don't rely on utf-8 being the default system encoding.

Fix #7.

github.com/python-websockets/websockets - 53f61fa9c4c3ba10789a1de86aa7a69b8f623414 authored about 11 years ago by Aymeric Augustin <[email protected]>
Merge pull request #6 from jodal/patch-1

Fix reference to 'websockets.protocols' in plural

github.com/python-websockets/websockets - 38337df9d7b516b493c40860440593bf4066268a authored about 11 years ago by Aymeric Augustin <[email protected]>
Fix reference to 'websockets.protocols' in plural

github.com/python-websockets/websockets - 21a14088dd198e93f139f0d374321a243cd67553 authored about 11 years ago by Stein Magnus Jodal <[email protected]>
Prepare packaging.

github.com/python-websockets/websockets - 1aa31d0545c877aea22d3b4452a4b92dbd631306 authored about 11 years ago by Aymeric Augustin <[email protected]>
Minor cleanup

github.com/python-websockets/websockets - 469a01d8405844f23a68d889fe29138697b1e129 authored about 11 years ago by Aymeric Augustin <[email protected]>
Rewrite README and proof-read docs.

github.com/python-websockets/websockets - f63e8809677a75d219bf250a74900603ed9ea27b authored about 11 years ago by Aymeric Augustin <[email protected]>
Merge pull request #5 from dzen/master

Adds MANIFEST.in to include README in python package

github.com/python-websockets/websockets - 89f0a0c4e22a43411ba53e1592099c93ddf9be93 authored about 11 years ago by Aymeric Augustin <[email protected]>
Adds MANIFEST.in to include README in python package

github.com/python-websockets/websockets - 67a3a34bb2b1251cfa15ffda50804a738ecf7614 authored about 11 years ago by Benoit Calvez <[email protected]>