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

Don't attempt to build wheels on PyPy 2.7.

github.com/python-websockets/websockets - 6170e235723f27a5aaa42ea86828f0266cc004f9 authored over 4 years ago
Run tests against the latest Python 3.8.

github.com/python-websockets/websockets - 18dbc49c935285e35a54e46030d326f3a49ea7b7 authored over 4 years ago
Fix simple typo: severel -> several

There is a small typo in src/websockets/client.py, src/websockets/server.py.
Should read `severa...

github.com/python-websockets/websockets - 6b5cbaf41cdbc9a2074e357ccc613ef25517dd32 authored almost 5 years ago
Speculation about proof-of-stake gets old.

Meanwhile, bitcoin still heats the planet.

Sorry crypto buffs.

Refs #480 and several others.

github.com/python-websockets/websockets - 4f1964295ad0e81c8c96b99c3fe9dafc96f11f28 authored almost 5 years ago
Clarify comment about RFC inconsistency.

github.com/python-websockets/websockets - 160dfbec7dd582c12817de5c85e6bf3fbbc34826 authored almost 5 years ago
Fix for Python 3.10: use sys.version_info instead of sys.version

github.com/python-websockets/websockets - a1615b47fcd416e5016d7e471976314c267f4349 authored about 5 years ago
Always reraise CancelledError.

It's really hard to write tests for this :-(

Fix #672.

github.com/python-websockets/websockets - 910f417c9179150c5ab4b44c7361dbf1e51ec322 authored about 5 years ago
Clarify local/remote_address after connection is closed.

Fix #688.

github.com/python-websockets/websockets - 3bab7fd155636c73b79b258de752b36687bba347 authored about 5 years ago
fix type hints on client/server args

* Make ping_interval et al. optional so that code that passes None here will
type check.

github.com/python-websockets/websockets - 93ad88a9a8fe2ea8d96fb1d2a0f1625a3c5fee7c authored about 5 years ago
Bump version number.

github.com/python-websockets/websockets - 139085fe2624192a5a6c72b1e5db211dcec6ced1 authored about 5 years ago
RST doesn't work inside raw HTML.

github.com/python-websockets/websockets - 20d1eb2e5afcc03b49aafbf113250ffdc9f432e2 authored about 5 years ago
Make single-element tuple unpacking more explicit.

The latest version of black does this. It's a good.

github.com/python-websockets/websockets - b4f6efaf829c6b6acd33294fb6cab14bdc61584b authored about 5 years ago
Reject invalid Basic Auth credentials.

Either both username and password are provided, or none of them.

github.com/python-websockets/websockets - 2a3c8581a3689326d31386804b100710623526c8 authored about 5 years ago
Add websockets for enterprise page to the docs.

github.com/python-websockets/websockets - 0b5de4e3d11928115c56d52a983d0fc356559925 authored about 5 years ago
Use the new Tidelift copy in README.

github.com/python-websockets/websockets - d62ef45facfc07aedf1f630b891f8c06212c5c59 authored about 5 years ago
hardcoded top-level export

github.com/python-websockets/websockets - 2a87496cd80b273205bf5226ab0f9c12078b775d authored over 5 years ago
Small simplification.

github.com/python-websockets/websockets - 3dab1fbe3705ba2c24cc7672d5ca3d7f02ea3535 authored over 5 years ago
Fix deprecation warnings on Python 3.8.

* Don't pass the deprecated loop argument.
* Ignore deprecation warnings for @asyncio.coroutine.

github.com/python-websockets/websockets - 65ae7cd42ca5bcd1796e33c42909752b26b197f9 authored over 5 years ago
Update to the latest version of mypy.

The bugs that were locking us on an old version are fixed.

github.com/python-websockets/websockets - e679490cf2af87bc060fc63a0f2898444f26d5c3 authored over 5 years ago
Rename writer to write.

It's a better name for a function that writes bytes.

github.com/python-websockets/websockets - 8952c3a78a0cbf98501c94c30920a3eb4162c5d2 authored over 5 years ago
Remove asyncio.StreamWriter.

It adds only one method for flow control. Copy it, as we've already
copied the rest of the flow ...

github.com/python-websockets/websockets - 94d43ebc3309176ed9b57dbfa8e9cd44fa1697ee authored over 5 years ago
Remove unused attribute.

github.com/python-websockets/websockets - d89721dd429e2fa64288ea638b0b79829f9cd222 authored over 5 years ago
Deduplicate connection termination tracking.

github.com/python-websockets/websockets - 25e0a5968529bdddaf240267da367a83cef5fc35 authored over 5 years ago
Finish merging StreamReaderProtocol and FlowControlMixin.

github.com/python-websockets/websockets - 5330199df186ab2516ea63a6588ceb50e8e4404e authored over 5 years ago
Merge asyncio.Protocol methods.

github.com/python-websockets/websockets - 2707b51fec077b88060c9fca4dc2a5a50b55eda5 authored over 5 years ago
Deduplicate reader/writer and _stream_reader/writer attributes.

github.com/python-websockets/websockets - 00ef5c3525442a943ec471f3f9f2edae8163cf7c authored over 5 years ago
Remove client_connected callback.

github.com/python-websockets/websockets - 5ed6a458b1992e4e00a2a25b0a2c378f22c3e2e7 authored over 5 years ago
Deduplicate loop and _loop attributes.

github.com/python-websockets/websockets - 42a436ce1dd37f4388a13d0c1591af7544c8bb1f authored over 5 years ago
Merge FlowControlMixin in StreamReaderProtocol.

github.com/python-websockets/websockets - e7282008796ae30d3c3df5715b97f49e35309825 authored over 5 years ago
Remove docstrings and debug logs.

github.com/python-websockets/websockets - 7e7f747ca5267755ccb1bef397c3071baad9a2e1 authored over 5 years ago
Copy FlowControlMixin and StreamReaderProtocol.

This is the official recommendation of Python core devs.

The code is taken from the current 3.7...

github.com/python-websockets/websockets - 8800c0cb250897feda7c6e0db2767ff67bd480a2 authored over 5 years ago
Ignore quality checks for code copied from asyncio.

github.com/python-websockets/websockets - e13387478c474396950259c4b2552a0e5469ae5e authored over 5 years ago
Remove useless type declaration.

github.com/python-websockets/websockets - 154c5fa964fe407341edad5e70367e64913023bb authored over 5 years ago
Fix refactoring error.

WebSocketCommonProtocol.transport can be unset, but it cannot be None.

github.com/python-websockets/websockets - d537c26ac380a1b74444f83f31cd744f7f24bf15 authored over 5 years ago
Remove test that no longer makes sense.

Since version 7.0, when the server closes, it terminates connections
with close code 1001 instea...

github.com/python-websockets/websockets - 1d673debfd306e3e1953f0312390fa5456e09b5a authored over 5 years ago
Move test logging configuration to a single place.

github.com/python-websockets/websockets - a9ef745899b8346526eb3e29a95b5e0f7db9a1f2 authored over 5 years ago
Document and test support for Python 3.8.

github.com/python-websockets/websockets - aa7c21497ce58c03c9d10eaeb70768c484d7d6ae authored over 5 years ago
Clarify why we leave SIGINT alone.

Ref #658.

github.com/python-websockets/websockets - d72322764ee6a53fdd3a8a13a1a9bf324f7f844b authored over 5 years ago
Require Python ≥ 3.6.1.

There've been multiple regressions where websockets stops working with
Python 3.6 but works fine...

github.com/python-websockets/websockets - c6ee4a4111b5d17d5a63dd33e941f2b0d97837b4 authored over 5 years ago
Build docs with Python 3.7.

github.com/python-websockets/websockets - a181964557eb94a17f7162a51810a8480bc1c896 authored over 5 years ago
Add a new type for extension names.

github.com/python-websockets/websockets - 46ddc64b3ab02f38579880a812b9c04da6d89ae1 authored over 5 years ago
Update description of default TLS contexts.

github.com/python-websockets/websockets - a693ec8cfcf206dfe7b917711e20600cdceb802e authored over 5 years ago
Fix typo in docstring.

github.com/python-websockets/websockets - 4ccc512861e1b56d9152b93e133f2ec9c6118c21 authored over 5 years ago
fix: downstream type annotations/assertions

github.com/python-websockets/websockets - 05d256da094759200016f123d787d315d86fc5c2 authored over 5 years ago
fix: permit None in type annotations

Fix type annotations for four parameters which are documented to accept `None`.

github.com/python-websockets/websockets - 3f444b1629237a6795c30d55f0775f4e75728bf3 authored over 5 years ago
Remove incorrect assertion.

Fix #646.

See the ticket for details.

github.com/python-websockets/websockets - fac562ddd5e6004949acd504c48fc91f2558593f authored over 5 years ago
Remove incorrect assertion.

create_server must receive either host + port or sock.
It does its own checks anyway; we don't n...

github.com/python-websockets/websockets - 7e0a651a06963c0a30f6c4888a30a9e7d3a7ad68 authored over 5 years ago
Add changelog for #649..

github.com/python-websockets/websockets - f1f5d7d37927b020dd39c37bc75415c79b0d5b59 authored over 5 years ago
Re-expose WebSocketProtocolError

github.com/python-websockets/websockets - c1af276ab1e9fb1c323fe232e6ed768a912b61b8 authored over 5 years ago
__main.py__: Fix typo

github.com/python-websockets/websockets - ec50f6b2b965f9ffa48a5760ed72376796728ede authored over 5 years ago
PyPI disables the "raw" directive.

github.com/python-websockets/websockets - 02af45351df41603c2767b004b29ab158337a667 authored over 5 years ago
Proof-read changelog.

github.com/python-websockets/websockets - a28fed3694f45fbfbc367afa9c51beb2f296a82d authored over 5 years ago
Explain close code 1006.

Also remove redundant message from ConnectionClosed exception: it's
pretty clear that websockets...

github.com/python-websockets/websockets - 8d907e029996a5563ceb5b65e02406c442674733 authored over 5 years ago
Deprecate host, port and secure attrs of protocols.

Also factor out logic for testing deprecations.

Fix #644.

github.com/python-websockets/websockets - d8a3a98bddedb1949d8da3c902fecdf7ce020c50 authored over 5 years ago
Run all quality checks by default with make.

github.com/python-websockets/websockets - c01ae626a30891b2302b5b2df80296b5345f118a authored over 5 years ago
Add a task to build the C extension.

Declare all tasks as phony — this is only really necessary for build,
but it can't hurt.

github.com/python-websockets/websockets - 31ba3fad91a6add437a02a369d282683d5333840 authored over 5 years ago
Use a plain dict to store pings.

This is possible since Python 3.6 because dict preserves order.

Also remove dependency on binas...

github.com/python-websockets/websockets - c3681322989aab7c49b3bf94082690764f10c0a2 authored over 5 years ago
Improve exception hierarchy.

* Group and sort exceptions from most common to least common.
* Add a base WebSocketException.
*...

github.com/python-websockets/websockets - 1585da2aa7da6f7984ac1c55a05784619cf974c4 authored over 5 years ago
Update design document.

It wasn't updated when fragmentation was implemented.

Fix #642.

github.com/python-websockets/websockets - 8afffd60f4fa8993f6d29965767dcedec4bfceb9 authored over 5 years ago
Improve pings dict in protocol diagram.

It's more like a queue than like a coroutine.

github.com/python-websockets/websockets - c7d795ee91804fac5f869b31b41001695f265a36 authored over 5 years ago
Use monospace font consistently for the project name.

github.com/python-websockets/websockets - 2f10791b875746ba9a8f59ea6e1f3129ffa37740 authored over 5 years ago
Improve API docs.

* Add info fields for parameters and exceptions.
* Rewrite significant parts for clarity.
* Make...

github.com/python-websockets/websockets - fc245f269e7108392a4437b1d1b02ed5b99dd9fa authored over 5 years ago
Close connections properly in WebSocketServer.close.

Thanks @lburg for the first iteration of this patch.

Fix #541.

github.com/python-websockets/websockets - b0f6a3ec70fdfe87be8fbb877ca9bc46dc877c39 authored over 5 years ago
Fix references in changelog.

github.com/python-websockets/websockets - 45e9a86e5dfdb772ce40a64863083b2664d2e44b authored over 5 years ago
Avoid logging ping exceptions that aren't retreived.

This is a bit of a hack: it relies on the implementation of asyncio.

Fix #637.

github.com/python-websockets/websockets - 3718311049eb32a46a0e6b40c1132eeef85fd369 authored over 5 years ago
Try to make tests less flaky.

Fix #639.

github.com/python-websockets/websockets - be04e2fe397ba0dd4b7f7a7f33b84cd4c2c2efd2 authored over 5 years ago
Change status code for invalid credentials to 401.

403 means the credentials are valid but don't provide permissions.

github.com/python-websockets/websockets - 5a1b0bb890cb3d6c0ba2dcf05996f7fed8d3b751 authored over 5 years ago
Discourage cancellation of APIs that write frames.

If writing is stuck (and closing the connection counts as a write),
then cancelling won't achiev...

github.com/python-websockets/websockets - e3452230eaf67ec5c4c253682eecb26aebee2223 authored over 5 years ago
Serialize sending fragmented messages.

When sending a fragmented message, wait until it's finished to send
other messages.

Fix #542 (m...

github.com/python-websockets/websockets - 7ef66541192be89373a904c27908a411400f5d68 authored over 5 years ago
Serialize sending fragmented messages.

While sending a fragmented message, no other data frame can be sent.

Fix #542.

github.com/python-websockets/websockets - d601f68b7edfed92fbb7566511bea927f324b3c2 authored over 5 years ago
Fix InvalidStateError when failing the connection.

This exception occurred when:

- the incoming queue was full
- the connection terminated with an...

github.com/python-websockets/websockets - e832c565b6ac85b5c1a80c7e6eab15eaead31440 authored over 5 years ago
Handle import loops consistently.

github.com/python-websockets/websockets - 6386867594a685c026099fb307ae0efd36ca6095 authored over 5 years ago
Add WebSocketServer to server.__all__.

Fix #562.

Thanks @lgrahl for the suggestion.

github.com/python-websockets/websockets - dd653dbe551a88dec4491fd5d83c9eefa236213a authored over 5 years ago
Refactor redirect handling in connect().

This reverts parts of 00458f27 and uses a less usual but less verbose
approach. _redirect() make...

github.com/python-websockets/websockets - 626544bc58565b19dc11f74ebe9b8fe25ff411b6 authored over 5 years ago
Move SecurityError to exceptions module.

github.com/python-websockets/websockets - 87a9ec06ce119ad50bb54a250514fc426e8ad370 authored over 5 years ago
Add unix_connect to connect to a Unix socket..

Fix #539.

github.com/python-websockets/websockets - 721ef99dab6efebbf1aad29ba127387f5e129855 authored over 5 years ago
Support overriding host and port in connect().

Fix #540.

Thanks @Kirill888 for the report and initial patch.

github.com/python-websockets/websockets - 752f4145cd06d303f7ac2ddc8c1fdffe9c492bff authored over 5 years ago
Minor code changes for readability.

github.com/python-websockets/websockets - f967833ee3c8215e49edd4033d1efb3985a895ad authored over 5 years ago
Add consistency checks on serve() arguments.

It's only possible to hit these assertions by not respecting the
documented signatures of serve(...

github.com/python-websockets/websockets - e146ace7caf42462af79de4fe3d0e0c4f1e2e8dc authored over 5 years ago
Refer to TLS consistently.

And clarify the relationship with SSL.

github.com/python-websockets/websockets - c1dd59331749a859bc79201c8da62ea3a71811a9 authored over 5 years ago
Standardize to **kwargs.

There was a mix of **kwargs and **kwds, perhaps due to Guido using
**kwds and websockets mirrori...

github.com/python-websockets/websockets - b55ccf8d44911d3d62d55146a72cd40d96138f58 authored over 5 years ago
Improve error messages for hanshake failures.

Fix #611.

github.com/python-websockets/websockets - d5a670019dd7baf966e5822c37f45c0da4971fdd authored over 5 years ago
Clarify that extra_headers only applies on success.

Refs #611.

github.com/python-websockets/websockets - 9f9da4478bb2c3f84020abadce118dfad6d53391 authored over 5 years ago
Convert tests for HTTP parsing to async style.

Refs #403.

github.com/python-websockets/websockets - c854564d2d871beba7b1150ef97d7cf2b6e4f872 authored over 5 years ago
Improve HTTP parsing error messages.

Fix #494.

github.com/python-websockets/websockets - aa2a2bb52621626c5661f8be5de4985e18e87acf authored over 5 years ago
Rewrite documentation for process_request.

Fix #496.

github.com/python-websockets/websockets - 7d429b56b62a263320fc693b6862da757ffb763f authored over 5 years ago
Handle ConnectionClosed when echoing a close frame.

Fix #606.

Thanks @lgrahl for the bug report.

github.com/python-websockets/websockets - 9b89de93b1d00fd404439675ecc1f3f385287cc4 authored over 5 years ago
Encourage users to remove workarounds.

Refs #551.

github.com/python-websockets/websockets - bf6db5ddeda3f2da7a48f69ec9fa6c024fdcbfa8 authored over 5 years ago
Handle aborted pings when receiving a pong.

Fix #551.

Thanks @Harmon758 for reporting this bug and identifying the root cause.

github.com/python-websockets/websockets - f8d8a61d8e2c7dcd6eb807d952cfa2b5179b29cb authored over 5 years ago
Handle ConnectionClosed exception in keepalive_ping.

Fix #551.

Thanks @Harmon758 for reporting this bug and identifying the root cause.

github.com/python-websockets/websockets - 71d476a5141be67daaab82dab729278940085a86 authored over 5 years ago
Update code style for example.

Start from what black produces, then wrap at 66 chars and don't skip
more than one line.

github.com/python-websockets/websockets - 34aaf6bcbbac62d8c605d5ba768709346ef87c6e authored over 5 years ago
Avoid crash caused by type annotations.

github.com/python-websockets/websockets - c0c31b89c1eb382ca0604a6edb762e0b2c919ed2 authored over 5 years ago
Add basic auth examples.

github.com/python-websockets/websockets - 918d83f6abcd468998a1a6a51387ae5c42a90297 authored over 5 years ago
Support HTTP Basic Auth on the server side.

Fix #492.

github.com/python-websockets/websockets - 56cd365310a341eef59f11659631d7ee73b9f1da authored over 5 years ago
Remove parentheses in :func: and :meth: references.

github.com/python-websockets/websockets - c2b7e1bb5a221fe7fea6efb53ab33d8efc8783ad authored over 5 years ago
Remove explicit argument lists.

Except those that Sphinx cannot build automatically because of
backwards-compatibility hacks.

github.com/python-websockets/websockets - 3278eddb7bcbf51637c8ac64680bd7176db57b6d authored over 5 years ago