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

Fix tests on Python 3.5.2.

Thanks Julien Enselme for the investigation.

github.com/python-websockets/websockets - 6b1db40e93fbedd8a7c4134bb0c82d29e651fcbf authored about 8 years ago by Aymeric Augustin <[email protected]>
Improve getting started for -both- case (#144)

* Improve getting started for -both- case

* Minor tweaks.

github.com/python-websockets/websockets - c25954538aab85c259dc37e8235c1362d9543146 authored about 8 years ago by Mircea Baja <[email protected]>
Make select_subprotocol a static method

github.com/python-websockets/websockets - c211a3a1fb29627ef653fff45cbecb17df0a6eb1 authored over 8 years ago by Lennart Grahl <[email protected]>
Clean up .gitignore.

github.com/python-websockets/websockets - 858b261d7d5365128e4f302690892d16fa93e34c authored over 8 years ago by Aymeric Augustin <[email protected]>
Uniformize quotes.

github.com/python-websockets/websockets - 485738f2f324a86aa7e54feb1334ca0d2201d6ae authored over 8 years ago by Aymeric Augustin <[email protected]>
Simplify setup.py according to PyPA guidelines.

github.com/python-websockets/websockets - 3a1174a8dff212c8d1a41f1e1afa91cf7dcea877 authored over 8 years ago by Aymeric Augustin <[email protected]>
Bump version number.

github.com/python-websockets/websockets - 6e728f0357db864f5d1f6495ca9ab27c47c636af authored over 8 years ago by Aymeric Augustin <[email protected]>
Improve server closing sequence.

Previously, the server wouldn't close correctly when handlers were
waiting on something other th...

github.com/python-websockets/websockets - 181acf3e29499ecff61b5e6892d73bae5332292e authored over 8 years ago by Aymeric Augustin <[email protected]>
Ensure proper references to the event loop.

github.com/python-websockets/websockets - 22876eaf44d86cb218caae8681edd9eb9ae3847b authored over 8 years ago by Aymeric Augustin <[email protected]>
Rename worker to worker_task.

This increases consistency with handler_task.

github.com/python-websockets/websockets - a05fe09ca8f40f00be03b12a378ece0c5e1d6809 authored over 8 years ago by Aymeric Augustin <[email protected]>
Rectify changelog.

Thanks @RemiCardona for the heads-up.

github.com/python-websockets/websockets - 58cb396c05efb03d5bf66592607c3e0dd4918c5d authored over 8 years ago by Aymeric Augustin <[email protected]>
Add kwargs to connect() and serve().

Reorganize their docstrings for clarity.

Refs #112.

github.com/python-websockets/websockets - 9729e63d4c85c699222dab482de334a3621d76f9 authored over 8 years ago by Aymeric Augustin <[email protected]>
Update link to Read the Docs.

github.com/python-websockets/websockets - 1b4f0204601da06289b5c0bb3898205752c93e68 authored over 8 years ago by Aymeric Augustin <[email protected]>
Bump version number.

github.com/python-websockets/websockets - 817a14fd3b85c0bdc4449bfe792098eaa2a45bfe authored over 8 years ago by Aymeric Augustin <[email protected]>
Tweak the default setting and docs for flow control.

github.com/python-websockets/websockets - ad401af46f29592b957ce5b25ff721c856193105 authored over 8 years ago by Aymeric Augustin <[email protected]>
Update documentation to include max_queue parameter (#105)

github.com/python-websockets/websockets - 8afa9d7e5d1709603eaeb53263a9ab95d91a25b2 authored over 8 years ago by Mark E. Haase <[email protected]>
Add flow control for reading from a websocket (#105)

Add a configurable size limit on the reader's message queue.
When the queue is full, the reader ...

github.com/python-websockets/websockets - fd22f008815e5e6a5dcd8cae876b172b7af77b91 authored over 8 years ago by Mark E. Haase <[email protected]>
Fix assorted flake8 warnings or errors.

github.com/python-websockets/websockets - fbc218ea93288e56dd7b55f69186392844171c5c authored almost 9 years ago by Aymeric Augustin <[email protected]>
Simplify test for #102.

Also add changelog entry.

github.com/python-websockets/websockets - 55933e036686a8314e6ef39b09d16ea201c39cb9 authored almost 9 years ago by Aymeric Augustin <[email protected]>
Make tests fail instead of hanging.

github.com/python-websockets/websockets - b3d4e18e562c20967bac59a93549c99b771d90fa authored almost 9 years ago by Aymeric Augustin <[email protected]>
protocol: make sure the worker task always finishes, closes #102

When a client connection is closed before the initial handshake is done,
the "opening_handshake"...

github.com/python-websockets/websockets - 6285a989881908579a65a002258f18b8b89ed094 authored almost 9 years ago by Rémi Cardona <[email protected]>
Fix setup.py errors/warnings on Python < 3.5.

The core of the change is to move the py35_*.py files to a subpackage
called websockets.py35, wh...

github.com/python-websockets/websockets - 992fc3a2794301ca4dbb94f9ce7801a4515e997d authored almost 9 years ago by Rémi Cardona <[email protected]>
Merge pull request #95 from Ivoz/patch-1

Add Python 3.5 classifier

github.com/python-websockets/websockets - ffb326ca8861d0e254de10ade068f533d36aa678 authored about 9 years ago by Aymeric Augustin <[email protected]>
Add Python 3.5 classifier

github.com/python-websockets/websockets - 702f2c3aace0c36d911a23c9b9ca0e3f7c84a49d authored about 9 years ago by Matt Iversen <[email protected]>
Bump version number.

github.com/python-websockets/websockets - 7d7cac390637021ab9944dc7028a7b2e8f84983f authored about 9 years ago by Aymeric Augustin <[email protected]>
Small docs improvements.

github.com/python-websockets/websockets - c7048aa107b23c1038cf306889d29b72a02b34f9 authored about 9 years ago by Aymeric Augustin <[email protected]>
Update docs to async / await syntax.

Fix #88.

github.com/python-websockets/websockets - 4f16e25625bfe67d713658b8d0b19e7b3b1d9121 authored about 9 years ago by Aymeric Augustin <[email protected]>
Document using connect as an async context manager.

github.com/python-websockets/websockets - 00f0b530cd15b21a7ee6ba7193b8bb5e9f7990e8 authored about 9 years ago by Aymeric Augustin <[email protected]>
Non-significant style changes to Connect.

I haven't written that sort of code before and changed my mind after
giving Ádám precise advice.

github.com/python-websockets/websockets - b89ac62ed3d08e0a479ada2b6fb0e853b8c1a065 authored about 9 years ago by Aymeric Augustin <[email protected]>
Add tests for connect() as a context manager.

Coverage report is at 100% but it requires this patch:
https://bitbucket.org/ned/coveragepy/issu...

github.com/python-websockets/websockets - edb4158aa511825eae3f9dc6392223919fc20609 authored about 9 years ago by Aymeric Augustin <[email protected]>
Allow using connect() as an async context manager.

This only works on Python 3.5.

github.com/python-websockets/websockets - 62e0873cdbf1da8330a3249b92f6a8f6a9af18a5 authored about 9 years ago by Szieberth Ádám <[email protected]>
Factor out testing on closing connections.

github.com/python-websockets/websockets - 3c0f78f8279e45ec3bf83046495977a867c76cd8 authored about 9 years ago by Aymeric Augustin <[email protected]>
Factor out testing on closed connections.

github.com/python-websockets/websockets - b9a235d8f37872924e3a8fe3a44f0373f552d827 authored about 9 years ago by Aymeric Augustin <[email protected]>
Improve emulation of receiving EOF.

This fixes tests on Python 3.5.1.

Fix #92.

github.com/python-websockets/websockets - 00d04cbf12e2c6691cdf34d22162d8204625d702 authored about 9 years ago by Aymeric Augustin <[email protected]>
Avoid conflict with the built-in time module.

Fix #87.

github.com/python-websockets/websockets - abec6594f81d60c23e5ef8af650284ee44ef44e1 authored about 9 years ago by Szieberth Ádám <[email protected]>
Fix typo.

github.com/python-websockets/websockets - 61ee954bb45708eec8021dcb40210c446b7c1650 authored about 9 years ago by Aymeric Augustin <[email protected]>
Factor common client and server protocol tests.

Only tests with significant differences remain in the subclasses.

github.com/python-websockets/websockets - 6f38c47f58257f0882f7c917cbc52a3b486d0d74 authored about 9 years ago by Aymeric Augustin <[email protected]>
Messages can be read after the close handshake.

This test implied the opposite of the current, and desired, behavior.

github.com/python-websockets/websockets - 1de8f529dbd12eed001b63fd715f5fddda16118b authored about 9 years ago by Aymeric Augustin <[email protected]>
Explain difference between client and server tests.

github.com/python-websockets/websockets - 85050db93f0fabaf67ef68889bfda77b1038cb07 authored about 9 years ago by Aymeric Augustin <[email protected]>
Avoid swallowing an exception in write_frame.

This raises a consistent ConnectionClosed exception when the connection
is closed while attempti...

github.com/python-websockets/websockets - f531d696dad7a0b3c8fe59e3512992f3bc9c3037 authored about 9 years ago by Aymeric Augustin <[email protected]>
Negligible clarification.

github.com/python-websockets/websockets - 7e673ece009ddd666040288185741c4d34e7c55a authored about 9 years ago by Aymeric Augustin <[email protected]>
Fix incorrect order due to history rewriting.

github.com/python-websockets/websockets - ff85c929992796a19629b0e34034c209ff33c954 authored about 9 years ago by Aymeric Augustin <[email protected]>
Make attributes of ConnectionClosed a public API.

github.com/python-websockets/websockets - 6bd24ac1c9daa6d9ceeaf8941e69244b3f7e5a9a authored about 9 years ago by Aymeric Augustin <[email protected]>
Prevent unintended timeout.

The library considers that its job is done when the worker task exits.

Usually connection_close...

github.com/python-websockets/websockets - f7f49084810ad47cfb0d3b518ad6a18b7bbab49e authored about 9 years ago by Aymeric Augustin <[email protected]>
Improve message of ConnectionClosed.

github.com/python-websockets/websockets - 98219d6e93ddedf2bce2d227360259d569b12918 authored about 9 years ago by Aymeric Augustin <[email protected]>
Improve and normalize docstring style.

github.com/python-websockets/websockets - 5e7849004265a68def05d1cee088d14d23e34072 authored about 9 years ago by Aymeric Augustin <[email protected]>
Raise an exception in recv instead of returning None.

This makes the API more Pythonic.

Fix #77.

github.com/python-websockets/websockets - 52e7750a8ddf1d7674fa27ad2f46fd2a448ce0cb authored about 9 years ago by Aymeric Augustin <[email protected]>
Check the connection state in send, ping and pong.

This doesn't change the behavior significantly. It raises a slightly
more explicit ConnectionClo...

github.com/python-websockets/websockets - 3a04aa2f2b363d6fb8c4874acc64446b2495a64e authored about 9 years ago by Aymeric Augustin <[email protected]>
Make state_name a public API and test it.

github.com/python-websockets/websockets - 34f9c3e7b2ce7f344c221baa47a98b59e604d0b4 authored about 9 years ago by Aymeric Augustin <[email protected]>
Improve some old tests a bit.

github.com/python-websockets/websockets - 188ec3276e110106dc8e2bbd6771538efbc8c877 authored about 9 years ago by Aymeric Augustin <[email protected]>
Support passing data as str in ping and pong.

github.com/python-websockets/websockets - 345d9e7dee84856db9e124368e2b213ddbe9585e authored about 9 years ago by Aymeric Augustin <[email protected]>
Proof-read and improve documentation.

github.com/python-websockets/websockets - 96e620f275a748069950d761df8feb555d2d73a4 authored about 9 years ago by Aymeric Augustin <[email protected]>
Clarify the conclusion of the introduction.

github.com/python-websockets/websockets - 49658fc697bd67ce069d648439fa94a94cab45ef authored about 9 years ago by Aymeric Augustin <[email protected]>
Document the registration pattern.

github.com/python-websockets/websockets - f4959b8ad8bd2dfaf542cbc60dc0774a3d2f69af authored about 9 years ago by Aymeric Augustin <[email protected]>
Avoid busy loop during connection termination.

Refs #84.

Refs https://github.com/python/asyncio/pull/280.

github.com/python-websockets/websockets - 46741370aeaa44fd2957d19e02e5d66b71d35f38 authored about 9 years ago by Aymeric Augustin <[email protected]>
Catch connection errors a bit more liberally.

github.com/python-websockets/websockets - 29b8bc595c3e66738c8330abbea7c265e679fbbd authored about 9 years ago by Aymeric Augustin <[email protected]>
Document how to check that messages were received.

github.com/python-websockets/websockets - 6ec274636ec89453d04decc1c51be68bac6c3af9 authored about 9 years ago by Aymeric Augustin <[email protected]>
Bump version number.

github.com/python-websockets/websockets - 2bd32e949e397f6c82d7de5d45363889bae65b9d authored about 9 years ago by Aymeric Augustin <[email protected]>
Make tests for error conditions more robust.

This will prevent the tests from locking on Python 3.6, assuming that
the proposed fix for http:...

github.com/python-websockets/websockets - fd33d297d836bf0acf22b793450be0bd00e9e391 authored about 9 years ago by Aymeric Augustin <[email protected]>
Document the lack of deployment best-practices.

Refs #74.

github.com/python-websockets/websockets - a8b098d30386c7a05dff59baf04ba12370a841c3 authored about 9 years ago by Aymeric Augustin <[email protected]>
Add an HTML + JS example.

Fix #74.

github.com/python-websockets/websockets - db9eb7033d81fba3c30711bf1c9d9635fc288a18 authored about 9 years ago by Aymeric Augustin <[email protected]>
Next version will be 3.0.

github.com/python-websockets/websockets - 292cd17b6021e5239525303f3635af088c40e071 authored about 9 years ago by Aymeric Augustin <[email protected]>
Improve docs with the alabaster theme and a logo.

Also split them across multiple pages. Fix #30.

github.com/python-websockets/websockets - 46986ef80728c2aeef2a72795014803c9890c4ed authored about 9 years ago by Aymeric Augustin <[email protected]>
Move docs to Read the Docs.

It appears to have gained support for Python 3.4 now.

github.com/python-websockets/websockets - 37e6234a5f4c9908827dbf2eb9b375cd7253ca52 authored about 9 years ago by Aymeric Augustin <[email protected]>
Change docs theme.

github.com/python-websockets/websockets - 9af8776d8e33e31315c72021515226e1d75483d4 authored about 9 years ago by Aymeric Augustin <[email protected]>
Add changelog entry for previous commit.

github.com/python-websockets/websockets - e3a7c289ffcda22ea83d82c190753ea851de7cc3 authored about 9 years ago by Aymeric Augustin <[email protected]>
Close connections correctly on Python 3.5.

* Counteract change in StreamReaderProtocol.eof_received()
* Ensure the transport is closed to f...

github.com/python-websockets/websockets - be9852913637932351feb09729048eaa18ccf58d authored about 9 years ago by Aymeric Augustin <[email protected]>
Add compatibility with Python 3.5.

github.com/python-websockets/websockets - 212fed7b5d30314bcd5b466f339fa79e81c0075e authored about 9 years ago by Aymeric Augustin <[email protected]>
Tie registration with handle tasks' lifecycle.

Since the purpose of registering or unregistering is to keep a list of
active connection handler...

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

github.com/python-websockets/websockets - 72f9b68b87395bdf598411398d07917b043dfc41 authored over 9 years ago by Aymeric Augustin <[email protected]>
Add local/remote_address attributes on protocols.

Fix #66.

github.com/python-websockets/websockets - be26a070c7c37e0838410734466587a267d047c7 authored over 9 years ago by Aymeric Augustin <[email protected]>
Avoided TCP fragmentation of small frames.

Fix #68.

github.com/python-websockets/websockets - bb2269a9b2d40801bc88fb62a455cb6cd3181256 authored over 9 years ago by Aymeric Augustin <[email protected]>
Merge pull request #67 from mikeputnam/fix-typo

Fix typo "on top of"

github.com/python-websockets/websockets - 7271c575ac4143881d7e914e324df5eefdbb527e authored over 9 years ago by Aymeric Augustin <[email protected]>
Fix typo "on top of"

github.com/python-websockets/websockets - 2a41dd8a4bd6105e53dea6803872c79a7db969f5 authored over 9 years ago by Mike Putnam <[email protected]>
Close connections instead of failing them on shutdown.

This lets the client complete the closing handshake. Previously the TCP
connection was closed ju...

github.com/python-websockets/websockets - 5666434e8d250a6b0731b6328ce389eb99eced1a authored over 9 years ago by Aymeric Augustin <[email protected]>
Fix test failures on Windows.

Fix #63.

github.com/python-websockets/websockets - 93bad7d638db60d91cc3909fbc97b8923d0765e4 authored over 9 years ago by Aymeric Augustin <[email protected]>
Wait on the handler task instead of the closing handshake.

Fix #64 (again).

github.com/python-websockets/websockets - a52cbbb1cf68b89f7690f1570ff6aa7721f8efe7 authored over 9 years ago by Aymeric Augustin <[email protected]>
Close open connections on server shutdown.

Fix #64.

github.com/python-websockets/websockets - 8e5a3954d62d01e2201aedaf4fe366d67e6af2c3 authored over 9 years ago by Aymeric Augustin <[email protected]>
Increase timeout 10 times in asyncio debug mode.

github.com/python-websockets/websockets - 9fcad1999e6feec4c2f25ef5e36a195454ce5036 authored over 9 years ago by Aymeric Augustin <[email protected]>
Make assertCompletesWithin more explicit.

Also increase tolerance as much as possible.

github.com/python-websockets/websockets - 5482cccab5be5aee7a80c959f3335697862477a6 authored over 9 years ago by Aymeric Augustin <[email protected]>
Bump version number.

github.com/python-websockets/websockets - 0c43316b07e93bddb3a688a104713f8a91dfaff5 authored over 9 years ago by Aymeric Augustin <[email protected]>
Add changelog for changes spread across multiple recent commits.

github.com/python-websockets/websockets - 930b9d98f44a3a142c58d94640014d191a1e851e authored over 9 years ago by Aymeric Augustin <[email protected]>
Set the close status code and reason more consistently.

Set them when the closing handshake is considered complete or aborted.

github.com/python-websockets/websockets - 88f067fdc04accd62b0664d83f744844b4f4578c authored over 9 years ago by Aymeric Augustin <[email protected]>
Terminate each connection in tests.

This prevents spurious warnings about unterminated tasks.

github.com/python-websockets/websockets - 471cbbc72760802f334fdf68e5c1c3ef54ca98eb authored over 9 years ago by Aymeric Augustin <[email protected]>
Increase guarantees against invalid state changes.

github.com/python-websockets/websockets - 9bdfb81780f71eac09dd154a75a09e9dbe03b81e authored over 9 years ago by Aymeric Augustin <[email protected]>
Add a comment for consistency.

github.com/python-websockets/websockets - db6b7a51be61aa4db6a75997765783db309255ec authored over 9 years ago by Aymeric Augustin <[email protected]>
Remove lock protecting fail_connection.

Since we now always set the state to CLOSING before sending a close
frame, it isn't needed anymore.

github.com/python-websockets/websockets - e085d334b409f6e797da426a127b3680b8e21156 authored over 9 years ago by Aymeric Augustin <[email protected]>
Fail tests if branch coverage isn't at 100%.

github.com/python-websockets/websockets - a16d30de2abf3fe3d241fcac672657fe213d8731 authored over 9 years ago by Aymeric Augustin <[email protected]>
Add tests for hanshake requests and responses.

github.com/python-websockets/websockets - f406c2a99d41dc95fb9626acfd5e48c2b49e8148 authored over 9 years ago by Aymeric Augustin <[email protected]>
Close connection more efficiently on handshake errors.

This avoids a warning about an unclosed SSL socket in tests (at least).

github.com/python-websockets/websockets - 8be2e61b7889d6911ed342caefe22cfdb4bd692b authored over 9 years ago by Aymeric Augustin <[email protected]>
Large-scale test refactor.

Back to 100% branch coverage.

* Delay invocation of protocol methods (connection_made, data_rec...

github.com/python-websockets/websockets - 66df21b6a8e45fceeb9234a2e64bc2c4cdfc5d37 authored over 9 years ago by Aymeric Augustin <[email protected]>
Remove the expected_state parameter.

Since we now always set the state to CLOSING before sending a close
frame, it isn't needed anymore.

github.com/python-websockets/websockets - 65748576877f9520e3ac0394ecbbf87261d16035 authored over 9 years ago by Aymeric Augustin <[email protected]>
Tighten state transitions.

The code now always checks the current state before updating it (and
never yields control in the...

github.com/python-websockets/websockets - 68da42aff05a8e5640f02cfa3b2050f4bfe0d4c2 authored over 9 years ago by Aymeric Augustin <[email protected]>
Always update the state before yielding control.

Otherwise multiple close frames could be sent.

This fix is required by changes I'm making to th...

github.com/python-websockets/websockets - 6c2667bde53086e9854d53d78a1608172227f409 authored over 9 years ago by Aymeric Augustin <[email protected]>
Remove supefluous check.

fail_connection() can now be called safely multiple times in parallel,
solving the general probl...

github.com/python-websockets/websockets - bb8db1e5a16dbc8b77e2b1b2138eea52ed330e14 authored over 9 years ago by Aymeric Augustin <[email protected]>
Don't send a close frame on a broken connection.

This fix is exercised by a test refactor I'm working on in parallel.

github.com/python-websockets/websockets - be439b5c28c81e5a43bc88c1f931a89dbf926c30 authored over 9 years ago by Aymeric Augustin <[email protected]>
Improve hack to run the event loop once.

github.com/python-websockets/websockets - 88bb97de0fef710b5320c3a65e3ca6b6fd4195b3 authored over 9 years ago by Aymeric Augustin <[email protected]>
Fix tests for sent frames.

The previous implementation silently ignored trailing data, which means
assertFrameSent + assert...

github.com/python-websockets/websockets - d4aaf8ca6754934f765ca0e6a20ff8b38db0e32f authored over 9 years ago by Aymeric Augustin <[email protected]>
Large cleanup in the tests for closing scenarios.

Remove the echo() utility. Check sent frames and receive frames
explicitly instead.

Factor out ...

github.com/python-websockets/websockets - 8b0ab64c9b1c2664d01721fb7b328a024e2464cc authored over 9 years ago by Aymeric Augustin <[email protected]>
Test passing explicitly an event loop to connect/serve.

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