python-engineio 4.12.0__tar.gz → 4.12.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_engineio-4.12.0/src/python_engineio.egg-info → python_engineio-4.12.1}/PKG-INFO +2 -2
- {python_engineio-4.12.0 → python_engineio-4.12.1}/pyproject.toml +2 -2
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/asgi.py +6 -1
- {python_engineio-4.12.0 → python_engineio-4.12.1/src/python_engineio.egg-info}/PKG-INFO +2 -2
- {python_engineio-4.12.0 → python_engineio-4.12.1}/LICENSE +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/MANIFEST.in +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/README.md +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/docs/Makefile +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/docs/_static/README.md +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/docs/api.rst +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/docs/client.rst +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/docs/conf.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/docs/index.rst +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/docs/intro.rst +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/docs/make.bat +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/docs/server.rst +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/setup.cfg +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/__init__.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_client.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/__init__.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/_websocket_wsgi.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/aiohttp.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/eventlet.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/gevent.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/gevent_uwsgi.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/sanic.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/threading.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/tornado.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_server.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_socket.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/base_client.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/base_server.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/base_socket.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/client.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/exceptions.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/json.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/middleware.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/packet.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/payload.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/server.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/socket.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/static_files.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/python_engineio.egg-info/SOURCES.txt +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/python_engineio.egg-info/dependency_links.txt +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/python_engineio.egg-info/not-zip-safe +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/python_engineio.egg-info/requires.txt +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/src/python_engineio.egg-info/top_level.txt +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/__init__.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/async/__init__.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/async/index.html +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/async/test_aiohttp.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/async/test_asgi.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/async/test_client.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/async/test_sanic.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/async/test_server.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/async/test_socket.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/async/test_tornado.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/common/__init__.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/common/index.html +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/common/test_client.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/common/test_middleware.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/common/test_packet.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/common/test_payload.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/common/test_server.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/common/test_socket.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/performance/README.md +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/performance/binary_b64_packet.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/performance/binary_packet.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/performance/json_packet.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/performance/payload.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/performance/run.sh +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/performance/server_receive.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tests/performance/text_packet.py +0 -0
- {python_engineio-4.12.0 → python_engineio-4.12.1}/tox.ini +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-engineio
|
|
3
|
-
Version: 4.12.
|
|
3
|
+
Version: 4.12.1
|
|
4
4
|
Summary: Engine.IO server and client for Python
|
|
5
5
|
Author-email: Miguel Grinberg <miguel.grinberg@gmail.com>
|
|
6
|
+
License: MIT
|
|
6
7
|
Project-URL: Homepage, https://github.com/miguelgrinberg/python-engineio
|
|
7
8
|
Project-URL: Bug Tracker, https://github.com/miguelgrinberg/python-engineio/issues
|
|
8
9
|
Classifier: Environment :: Web Environment
|
|
9
10
|
Classifier: Intended Audience :: Developers
|
|
10
11
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Requires-Python: >=3.6
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "python-engineio"
|
|
3
|
-
version = "4.12.
|
|
3
|
+
version = "4.12.1"
|
|
4
|
+
license = {text = "MIT"}
|
|
4
5
|
authors = [{name = "Miguel Grinberg", email = "miguel.grinberg@gmail.com"}]
|
|
5
6
|
description = "Engine.IO server and client for Python"
|
|
6
7
|
classifiers = [
|
|
7
8
|
"Environment :: Web Environment",
|
|
8
9
|
"Intended Audience :: Developers",
|
|
9
10
|
"Programming Language :: Python :: 3",
|
|
10
|
-
"License :: OSI Approved :: MIT License",
|
|
11
11
|
"Operating System :: OS Independent",
|
|
12
12
|
]
|
|
13
13
|
requires-python = ">=3.6"
|
|
@@ -280,7 +280,12 @@ class WebSocket: # pragma: no cover
|
|
|
280
280
|
event = await self.asgi_receive()
|
|
281
281
|
if event['type'] != 'websocket.receive':
|
|
282
282
|
raise OSError()
|
|
283
|
-
|
|
283
|
+
if 'bytes' in event:
|
|
284
|
+
return event['bytes']
|
|
285
|
+
elif 'text' in event:
|
|
286
|
+
return event['text']
|
|
287
|
+
else: # pragma: no cover
|
|
288
|
+
raise OSError()
|
|
284
289
|
|
|
285
290
|
|
|
286
291
|
_async = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-engineio
|
|
3
|
-
Version: 4.12.
|
|
3
|
+
Version: 4.12.1
|
|
4
4
|
Summary: Engine.IO server and client for Python
|
|
5
5
|
Author-email: Miguel Grinberg <miguel.grinberg@gmail.com>
|
|
6
|
+
License: MIT
|
|
6
7
|
Project-URL: Homepage, https://github.com/miguelgrinberg/python-engineio
|
|
7
8
|
Project-URL: Bug Tracker, https://github.com/miguelgrinberg/python-engineio/issues
|
|
8
9
|
Classifier: Environment :: Web Environment
|
|
9
10
|
Classifier: Intended Audience :: Developers
|
|
10
11
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Requires-Python: >=3.6
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/_websocket_wsgi.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_engineio-4.12.0 → python_engineio-4.12.1}/src/engineio/async_drivers/gevent_uwsgi.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_engineio-4.12.0 → python_engineio-4.12.1}/src/python_engineio.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_engineio-4.12.0 → python_engineio-4.12.1}/src/python_engineio.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|