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

Turn extensions module into a package.

github.com/python-websockets/websockets - 9fd534a53563903bace696c1407301310951a8b8 authored over 7 years ago
Negligible performance optimization.

github.com/python-websockets/websockets - 2e5e851c9695b01a10870dced6136c9b50c052e5 authored over 7 years ago
Add parameter to force client not to use compression

github.com/python-websockets/websockets - 58bc7cd2af7e90ac31f6b347a688098e2f90d81e authored over 7 years ago
Add parse_extensions API and make PerMessageDeflate more generic (client, server)

github.com/python-websockets/websockets - f79999fbc906ab5037fcc53df019f104689763a2 authored over 7 years ago
Stub per-message deflate extension.

github.com/python-websockets/websockets - cb6f56e70a5e1a27a85e3ea4529a6e6fed223223 authored over 7 years ago
Refactor read/write/check_frame as Frame methods.

github.com/python-websockets/websockets - 7e119fbe82fbaa883a09e288ae9c496f2977ea4c authored over 7 years ago
Check close codes of outgoing frames.

This can avoid protocol violations.

github.com/python-websockets/websockets - 8f1ff2825c5fc541830b0e530efc9a0a9ee49c1e authored over 7 years ago
Miscellaneous small style cleanups.

github.com/python-websockets/websockets - c4f786103a978601c39e1d1b64f592711929c83a authored over 7 years ago
More deflate extension testing

github.com/python-websockets/websockets - bec5517cd6169da1b387c31280e1527a3b840a04 authored over 7 years ago
Add framework for extensions in handshake.

github.com/python-websockets/websockets - 53c0890a2bb58a93a965fd2b76a3ee2c40a3af3d authored over 7 years ago
Negligible optimization.

github.com/python-websockets/websockets - c098d4463496e5b4ff9ac841aed0325ab3754a1c authored over 7 years ago
Add support for processing frames.

This is where I'm planning to hook extensions.

github.com/python-websockets/websockets - 6f7a462b8af63930a5ca3e0643968d0da7ef150d authored over 7 years ago
Support `permessage-deflate` parameters

github.com/python-websockets/websockets - 3e377f3d125a00c9dcbfc351f9e8096281046644 authored over 7 years ago
Add reserved bits to frames.

github.com/python-websockets/websockets - 87638839d54e702fa2c78735c2ba219b3fcfce57 authored over 7 years ago
Refactor processing of frames.

github.com/python-websockets/websockets - 2cf56e9af53d8a22ca320d817c657e9bc83dd27d authored over 7 years ago
Add support for client side compression

github.com/python-websockets/websockets - 9ee35e1e01b2c5d3c2897609d52aeecac7505dde authored over 7 years ago
Implement correct parsing of Sec-WebSocket-Extensions.

This requires a lot more code that one might expect.

The previous version failed when quoted st...

github.com/python-websockets/websockets - 842ef415fab8c15b1136117f7a3d2d1a84336f2b authored over 7 years ago
Restore missing import.

Add test for a code path that was exercised by accident to preserve full
test coverage.

github.com/python-websockets/websockets - c827cc679ef19e5672e08fa3ffe62e1410103b6c authored over 7 years ago
Add codecov badge to README

Also use "shield" style for circleci one to be consistent.

github.com/python-websockets/websockets - 683ee51859c6d33ebf7a087beb8e4a76cfe0d2d9 authored over 7 years ago
Add codecov to circleci.yml

github.com/python-websockets/websockets - 544d704e79834cd536bb81d82e9195e96a3b39fd authored over 7 years ago
Add PyPI and CircleCI badges to README

This reflects at first glance that this package is available on PyPI and that CI is in place.

github.com/python-websockets/websockets - 50c0dae8152d19ae0d6f58e1297967cf883090d1 authored over 7 years ago
Change Upgrade header to lowercase value.

This value is technically case-insensitive but sloppy servers may expect
it to be lower case.

F...

github.com/python-websockets/websockets - a786635863f591106b258716be2d2998692e2505 authored over 7 years ago
Build wheels on various platforms (#239)

* C extension mandatory if '.cibuildwheel' file is present

* build wheels on travis-ci

* b...

github.com/python-websockets/websockets - 22f8cef96063361cd14ab372b0c7608c4a05c0ad authored over 7 years ago
Clarify handling of HTTP request/response bodies.

websockets doesn't do anything with them -- since it doesn't expect any
-- but they're still the...

github.com/python-websockets/websockets - 7389cc40c5d4ec2b0f50edb275a99bd07a29ba96 authored over 7 years ago
Refactor writing of HTTP responses by the server.

After this change:

1. either handshake() successfully writes a handshake response
2. or it rais...

github.com/python-websockets/websockets - d45b29062c48c6678d889a63f3d5745994be85d3 authored over 7 years ago
Reorder methods more logically.

github.com/python-websockets/websockets - e42f8c8f37ccdfee32030e549708e6464844905d authored over 7 years ago
Provide a better way to override request handling.

This replaces the get_response_status() API which never made it into a
release (so there's no ba...

github.com/python-websockets/websockets - 50fd62e333256cd5db43927bc98bebe7bba6e564 authored over 7 years ago
Support returning a HTTP body in custom response.

Also add a relevant test for process_request().

github.com/python-websockets/websockets - 48372040742db9cc4f3ec436e4ec0f3df035e26b authored over 7 years ago
Use status vs. status_code consistently.

* status is a HTTPStatus instance.
* status_code is a numerical status code, like status.value.

github.com/python-websockets/websockets - 3242b20e6ef7fe6bf916d7d7c5026c47e8f99398 authored over 7 years ago
Rename exception.

Providing both InvalidStatus and InvalidState was quite confusing.

github.com/python-websockets/websockets - 411383fd3c5ccbabd3aab0a5a91fa092529a766a authored over 7 years ago
Move compatibility code in the adequate module.

github.com/python-websockets/websockets - 27e06981ff12421da3c2c0e05b6b4abbadcf9937 authored over 7 years ago
Change isort multi-line rule.

github.com/python-websockets/websockets - 054bc9045c4a324d375e50e402568e7fb886d120 authored over 7 years ago
Fix build of speedups.c on MSVC 2010

github.com/python-websockets/websockets - 68e2af5cd9d823f8d9f77bc18bd2556694b5d84e authored over 7 years ago
Merge pull request #236 from aaugustin/issue-216-remove-klass

Address issue #216: rename the klass argument to create_protocol.

github.com/python-websockets/websockets - e1c3c3143679afc018622800c215e88e55786673 authored over 7 years ago
Review fix for issue #216.

* Clarify documentation wording a bit.
* Make the backwards-compatibility logic more explicit (a...

github.com/python-websockets/websockets - 39cec143769a31c92fce282b6270bbf52ceb1206 authored over 7 years ago
Address issue #216: rename the klass argument to create_protocol.

github.com/python-websockets/websockets - 725675eb20eb78e4cc3a9230daea3cdaf3dc7ffd authored over 7 years ago
Update intersphinx_mapping setting.

github.com/python-websockets/websockets - f859e2f017903abf195d3663ba486d6d1ef2cb23 authored over 7 years ago
Use temp_client() where we can't use the with_client() decorator.

github.com/python-websockets/websockets - c07ff418fa64398d7aab6cc9f72cc44f32ed773e authored over 7 years ago
Add with_client() test method decorator.

github.com/python-websockets/websockets - 5f096507984b9a5d226652ca12ae411ea8f03235 authored over 7 years ago
Don't accept Unicode objects in speedups.apply_mask

Only non-mutable bytes-like objects shall be supported

github.com/python-websockets/websockets - 739af7ef5f9bd974f389e50e367d4f9f07f71790 authored over 7 years ago
Replace modulo on signed integers by masking

Compiler is not smart enough to know that both operands are positive &
optimize this with maskin...

github.com/python-websockets/websockets - 55dfa10ff0a4c767c4aafc19480b9c4f1a4e30d8 authored over 7 years ago
Fix argument mis-copy in PR #219.

github.com/python-websockets/websockets - ccc5d34f068e1e3e6b51c49aa0c69983d9cd104d authored over 7 years ago
Add ClientServerTests.temp_server() context manager.

github.com/python-websockets/websockets - 16c8c5386b2d1b5e52b8d2c182bcd80a493a3219 authored over 7 years ago
Add with_server() test method decorator.

github.com/python-websockets/websockets - 571caeb914193ce625f7263e055da2226aa9ea6b authored over 7 years ago
Restore lines to their original lengths.

github.com/python-websockets/websockets - 4703884a5c82452c25ed39224160913162cf448e authored over 7 years ago
Don't rely on Python.h to include stdint.h in speedups.c

The code in speedups.c relies on the assumption that Python.h includes
stdint.h
This might chang...

github.com/python-websockets/websockets - cb225d7eb13ac6be800d170962b65bd580b00cf2 authored over 7 years ago
Correctly read mask in non SSE2 cases in speedups.c

Fixes aaugustin/websockets#223

github.com/python-websockets/websockets - 6173a0d6ad12967224d7a2d588ce8ab93f22b11c authored over 7 years ago
Add read/write_limit parameters to API docs.

github.com/python-websockets/websockets - 0058c0954fc102ba74434c66ee810a078e40789b authored over 7 years ago
Fix api.rst

This adds max_queue to WebSocketCommonProtocol in api.rst.

github.com/python-websockets/websockets - 1f7604b7e2272567fbb3e00c7814782018113a94 authored over 7 years ago
Add a test for apply_mask with more data.

This forces the code to go through the 16 bytes blocks path.

github.com/python-websockets/websockets - b8eda04abb8ab39f89e3d93457e53efdbd71beea authored over 7 years ago
Merge pull request #214 from aaugustin/c-speedup

Speed up frame (un)masking with a C extension.

github.com/python-websockets/websockets - 513a6a33ce8b80d49f9c90717526c7d92b752c5e authored over 7 years ago
Remove support for AVX.

It doesn't bring significant performance improvements over SSE2.

github.com/python-websockets/websockets - 6d7744c5e3d5880043d18021cb345b45d6340914 authored over 7 years ago
Optimize for 64-bit, non SSE2 CPUs (e.g. ARM).

github.com/python-websockets/websockets - 45bd2762fd0f0cf8dce82425e99bed02cc384c65 authored over 7 years ago
Optimize performance with SSE2.

Unlike AVX, support for SSE2 is enabled by default in modern compilers.

github.com/python-websockets/websockets - 7a84580b57bd7c5a4ec7ced92e75f2ab4f2c9ccc authored over 7 years ago
Optimize performance with AVX.

This is mostly for fun. It won't have an effect unless the extension is
compiled with CFLAGS='-m...

github.com/python-websockets/websockets - c53221933e8558c349c52b9b5d066520f370b6d1 authored over 7 years ago
Speed up frame (un)masking with a C extensions.

Thanks Messense Lv (@messense) and Matthieu Darbois (@mayeut) for
proposing previous iterations ...

github.com/python-websockets/websockets - c0737a73f32632e0d954e7b701e892a20ec1d372 authored over 7 years ago
Address issue #212: have coverage report missing line numbers.

github.com/python-websockets/websockets - 93f258fb455d68ec931a53dde3d138e27ed5ef72 authored over 7 years ago
Expose invalid status code during connection. (#209)

Fix #198. Thanks @cjerdonek!

* Address issue #198: expose invalid status code during connecti...

github.com/python-websockets/websockets - aa711aa5554814eb625924e5e543191dc3ad5b0a authored over 7 years ago
Fix issue #207: always set self.origin.

github.com/python-websockets/websockets - e0915479ce582b0b69b551cc62ab2eb4e6cd39f9 authored over 7 years ago
Fix CircleCI flake8 error.

github.com/python-websockets/websockets - 79949f1859b0ab7a742e234f46b2b1ceb0cd038e authored over 7 years ago
Address issue #203: make WebSocketServer not inherit.

This commit changes WebSocketServer not to inherit from
asyncio.AbstractServer. It also improves...

github.com/python-websockets/websockets - ce61a9dac266cac87fa1f1ae20ed37ad7bf60770 authored over 7 years ago
Encapsulate creation of HTTP headers.

Since this part is hacky and likely to change in the future (#210),
wrap it into a single functi...

github.com/python-websockets/websockets - 00efcc605fd0f88eb0bef9e5b7bda6fdb7d954ad authored over 7 years ago
Replace MIME parsing with custom HTTP parsing.

Given that websockets makes straightforward use of HTTP, that websocket
implementations can be e...

github.com/python-websockets/websockets - f120792cbb52d55be1ad8388d24fbd087adfc111 authored over 7 years ago
Revert accidental change.

Fix #183.

github.com/python-websockets/websockets - 5d361a361a31ce19896dd0fb2c9dc684514e2a09 authored over 7 years ago
Simplify compliance tests.

github.com/python-websockets/websockets - 7dfccc446ec73eea28c5fee6ad2c76b080005fab authored over 7 years ago
Make serve an async context manager.

Fix #86.

github.com/python-websockets/websockets - 76f02cab95879648481f2dd84e4c3c6924d52c54 authored over 7 years ago
Document how to keep connections open.

Fix #110.

github.com/python-websockets/websockets - 13f2e408707627260f2eed954bdec735f701daa5 authored over 7 years ago
Fix tests on Circle CI.

github.com/python-websockets/websockets - 8e6baa8d118cb6f6cff683c135f7170aeb763dba authored over 7 years ago
Document that port sharing is unsupported.

Fix #116.

github.com/python-websockets/websockets - d0d434a71f3cfa0270a8b0bd1f809b9807f26f5c authored over 7 years ago
Make it possible to configure buffer sizes.

Document how backpressure and buffers work.

Refs #170.

github.com/python-websockets/websockets - 3ec6f896e50820ab0048533d89155aa48cca52e6 authored over 7 years ago
Document how to shut down the server.

Fix #124, #103.

github.com/python-websockets/websockets - a41c8310807af4de9b2275c685988b3cbcf01ae2 authored over 7 years ago
Simplify implementing auth during the handshake.

github.com/python-websockets/websockets - e58c1ac1315f4dd73aea99eaca2a60509f2fcf03 authored over 7 years ago
Refactor client-side handshake handling.

github.com/python-websockets/websockets - 3051b2ea3261fea2168675168660caa91947f28e authored over 7 years ago
Refactor server-side handshake handling.

The primary goal is to make it easier to add authentication through
subclassing. (Subclassing as...

github.com/python-websockets/websockets - ec8a86038f4b8b157c56c9a0e689bd4166a27246 authored over 7 years ago
Get back to 100% branch coverage.

Remove a branch that doesn't make sense in the process.

github.com/python-websockets/websockets - 93c6f28ac0597d09f18c25d4075f22dc0528e9b6 authored over 7 years ago
Fix deprecation warning for Python 3.7.

github.com/python-websockets/websockets - b763ac48b9dc3cdd446eaff14ed5bf62a2290ed5 authored over 7 years ago
Downgrade connection errors in handshakes to debug.

They're very common and either obvious (connection fails to establish)
or harmless (the connecti...

github.com/python-websockets/websockets - 5e2adb251ddcbd7856de1a72dd1dfa893c20ebd5 authored over 7 years ago
Document the type of the stream argument.

FIx #174.

github.com/python-websockets/websockets - 438310501703ddb580d4bbc7628993190faf1152 authored over 7 years ago
Remove Travis CI config.

Travis doesn't work.

github.com/python-websockets/websockets - 388bd4a1e621370571059d4dd4bd584db7debbbd authored over 7 years ago
Support ssl=None when connecting to ws:// URIs.

Fix #149.

github.com/python-websockets/websockets - a1dce912dfa0841d18d45e93f4f308e31cb1e49b authored over 7 years ago
Improve wording a bit.

github.com/python-websockets/websockets - 4a570396c7e859340ca8539ab883aa368f8b5415 authored over 7 years ago
Specify charset for open() calls.

Otherwise they're locale dependent, which can cause issues.

Fix #171.

github.com/python-websockets/websockets - e7e681fc1cae2bb13e09418c9c5ab6624bf8160a authored over 7 years ago
Add 3.6 tag to wheel.

github.com/python-websockets/websockets - cdfa863472b64b2eb3b4deac1fcac933aebd70cb authored almost 8 years ago
Add changelog and bump version number.

github.com/python-websockets/websockets - c46ab352f6046522b4ac096418367bbd12d76ae6 authored almost 8 years ago
protocol: add a lock around StreamWriter.drain(), closes #16

Works around the following error:

File /usr/lib/python3.4/asyncio/streams.py, line 194, in ...

github.com/python-websockets/websockets - 198b71537917adb44002573b14cbe23dbd4c21a2 authored almost 8 years ago
server: don't print exceptions for network errors during opening and closing handshakes

Since 181acf3, full tracebacks are printed if a connection is reset
during handshake. Connectio...

github.com/python-websockets/websockets - 2466e74b17494191dc6d390f2b87dcdb46072f52 authored almost 8 years ago
Merge pull request #160 from kelunik/fix-parser

Fix read_response when reason is empty

github.com/python-websockets/websockets - 16c4a74d365217159c15a03e650ec2c30eea3a7f authored almost 8 years ago
Fix read_response when reason is empty

github.com/python-websockets/websockets - 2e7fd48e19731aa1fe8e5af57825b5a7f43a972c authored almost 8 years ago
Fix regression from adf6fe4b.

github.com/python-websockets/websockets - 34c4031db2355c20785d0a7d50b5aa3ef5ccb90e authored about 8 years ago
Add Python 3.6 to supported versions.

github.com/python-websockets/websockets - fd54f619769a5a07ad85d18152d3c1bf39dd5936 authored about 8 years ago
Merge pull request #132 from lgrahl/master

Make select_subprotocol a static method

github.com/python-websockets/websockets - adf6fe4b64e066e51974edf1dd5c8cd55cab0435 authored about 8 years ago
Don't email me Travis.

github.com/python-websockets/websockets - 34ca55c368774d486a767ae307a817800f011722 authored about 8 years ago
Ignore star imports in linting.

github.com/python-websockets/websockets - d9f785327d53b76103b019ca4077138294d4e95c authored about 8 years ago