python-engineio 4.13.0__tar.gz → 4.13.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.
Files changed (75) hide show
  1. {python_engineio-4.13.0/src/python_engineio.egg-info → python_engineio-4.13.1}/PKG-INFO +3 -2
  2. python_engineio-4.13.1/docs/api.rst +14 -0
  3. {python_engineio-4.13.0 → python_engineio-4.13.1}/docs/conf.py +2 -11
  4. {python_engineio-4.13.0 → python_engineio-4.13.1}/docs/index.rst +1 -1
  5. {python_engineio-4.13.0 → python_engineio-4.13.1}/pyproject.toml +3 -2
  6. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_client.py +3 -2
  7. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_server.py +4 -3
  8. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/client.py +3 -2
  9. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/server.py +4 -3
  10. {python_engineio-4.13.0 → python_engineio-4.13.1/src/python_engineio.egg-info}/PKG-INFO +3 -2
  11. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/python_engineio.egg-info/requires.txt +2 -1
  12. {python_engineio-4.13.0 → python_engineio-4.13.1}/tox.ini +1 -0
  13. python_engineio-4.13.0/docs/api.rst +0 -33
  14. {python_engineio-4.13.0 → python_engineio-4.13.1}/LICENSE +0 -0
  15. {python_engineio-4.13.0 → python_engineio-4.13.1}/MANIFEST.in +0 -0
  16. {python_engineio-4.13.0 → python_engineio-4.13.1}/README.md +0 -0
  17. {python_engineio-4.13.0 → python_engineio-4.13.1}/docs/Makefile +0 -0
  18. {python_engineio-4.13.0 → python_engineio-4.13.1}/docs/_static/README.md +0 -0
  19. {python_engineio-4.13.0 → python_engineio-4.13.1}/docs/client.rst +0 -0
  20. {python_engineio-4.13.0 → python_engineio-4.13.1}/docs/intro.rst +0 -0
  21. {python_engineio-4.13.0 → python_engineio-4.13.1}/docs/make.bat +0 -0
  22. {python_engineio-4.13.0 → python_engineio-4.13.1}/docs/server.rst +0 -0
  23. {python_engineio-4.13.0 → python_engineio-4.13.1}/setup.cfg +0 -0
  24. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/__init__.py +0 -0
  25. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/__init__.py +0 -0
  26. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/_websocket_wsgi.py +0 -0
  27. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/aiohttp.py +0 -0
  28. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/asgi.py +0 -0
  29. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/eventlet.py +0 -0
  30. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/gevent.py +0 -0
  31. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/gevent_uwsgi.py +0 -0
  32. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/sanic.py +0 -0
  33. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/threading.py +0 -0
  34. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_drivers/tornado.py +0 -0
  35. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/async_socket.py +0 -0
  36. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/base_client.py +0 -0
  37. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/base_server.py +0 -0
  38. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/base_socket.py +0 -0
  39. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/exceptions.py +0 -0
  40. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/json.py +0 -0
  41. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/middleware.py +0 -0
  42. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/packet.py +0 -0
  43. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/payload.py +0 -0
  44. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/socket.py +0 -0
  45. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/engineio/static_files.py +0 -0
  46. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/python_engineio.egg-info/SOURCES.txt +0 -0
  47. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/python_engineio.egg-info/dependency_links.txt +0 -0
  48. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/python_engineio.egg-info/not-zip-safe +0 -0
  49. {python_engineio-4.13.0 → python_engineio-4.13.1}/src/python_engineio.egg-info/top_level.txt +0 -0
  50. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/__init__.py +0 -0
  51. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/async/__init__.py +0 -0
  52. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/async/index.html +0 -0
  53. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/async/test_aiohttp.py +0 -0
  54. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/async/test_asgi.py +0 -0
  55. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/async/test_client.py +0 -0
  56. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/async/test_sanic.py +0 -0
  57. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/async/test_server.py +0 -0
  58. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/async/test_socket.py +0 -0
  59. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/async/test_tornado.py +0 -0
  60. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/common/__init__.py +0 -0
  61. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/common/index.html +0 -0
  62. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/common/test_client.py +0 -0
  63. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/common/test_middleware.py +0 -0
  64. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/common/test_packet.py +0 -0
  65. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/common/test_payload.py +0 -0
  66. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/common/test_server.py +0 -0
  67. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/common/test_socket.py +0 -0
  68. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/performance/README.md +0 -0
  69. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/performance/binary_b64_packet.py +0 -0
  70. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/performance/binary_packet.py +0 -0
  71. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/performance/json_packet.py +0 -0
  72. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/performance/payload.py +0 -0
  73. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/performance/run.sh +0 -0
  74. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/performance/server_receive.py +0 -0
  75. {python_engineio-4.13.0 → python_engineio-4.13.1}/tests/performance/text_packet.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-engineio
3
- Version: 4.13.0
3
+ Version: 4.13.1
4
4
  Summary: Engine.IO server and client for Python
5
5
  Author-email: Miguel Grinberg <miguel.grinberg@gmail.com>
6
6
  License: MIT
@@ -18,11 +18,12 @@ Provides-Extra: client
18
18
  Requires-Dist: requests>=2.21.0; extra == "client"
19
19
  Requires-Dist: websocket-client>=0.54.0; extra == "client"
20
20
  Provides-Extra: asyncio-client
21
- Requires-Dist: aiohttp>=3.4; extra == "asyncio-client"
21
+ Requires-Dist: aiohttp>=3.11; extra == "asyncio-client"
22
22
  Provides-Extra: dev
23
23
  Requires-Dist: tox; extra == "dev"
24
24
  Provides-Extra: docs
25
25
  Requires-Dist: sphinx; extra == "docs"
26
+ Requires-Dist: furo; extra == "docs"
26
27
  Dynamic: license-file
27
28
 
28
29
  python-engineio
@@ -0,0 +1,14 @@
1
+ API Reference
2
+ =============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ api_client
8
+ api_async_client
9
+ api_server
10
+ api_async_server
11
+ api_wsgiapp
12
+ api_asgiapp
13
+ api_middleware
14
+
@@ -67,29 +67,20 @@ language = None
67
67
  # This pattern also affects html_static_path and html_extra_path.
68
68
  exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
69
69
 
70
- # The name of the Pygments (syntax highlighting) style to use.
71
- pygments_style = None
72
-
73
70
 
74
71
  # -- Options for HTML output -------------------------------------------------
75
72
 
76
73
  # The theme to use for HTML and HTML Help pages. See the documentation for
77
74
  # a list of builtin themes.
78
75
  #
79
- html_theme = 'alabaster'
76
+ html_theme = 'furo'
77
+ html_title = 'python-engineio'
80
78
 
81
79
  # Theme options are theme-specific and customize the look and feel of a theme
82
80
  # further. For a list of options available for each theme, see the
83
81
  # documentation.
84
82
  #
85
83
  html_theme_options = {
86
- 'github_user': 'miguelgrinberg',
87
- 'github_repo': 'python-engineio',
88
- 'github_banner': True,
89
- 'github_button': True,
90
- 'github_type': 'star',
91
- 'fixed_sidebar': True,
92
-
93
84
  }
94
85
 
95
86
  # Add any paths that contain custom static files (such as style sheets) here,
@@ -11,7 +11,7 @@ standalone or integrated with a variety of Python web frameworks and
11
11
  applications.
12
12
 
13
13
  .. toctree::
14
- :maxdepth: 3
14
+ :maxdepth: 2
15
15
 
16
16
  intro
17
17
  client
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "python-engineio"
3
- version = "4.13.0"
3
+ version = "4.13.1"
4
4
  license = {text = "MIT"}
5
5
  authors = [{name = "Miguel Grinberg", email = "miguel.grinberg@gmail.com"}]
6
6
  description = "Engine.IO server and client for Python"
@@ -27,13 +27,14 @@ client = [
27
27
  "websocket-client >= 0.54.0",
28
28
  ]
29
29
  asyncio_client = [
30
- "aiohttp >= 3.4"
30
+ "aiohttp >= 3.11"
31
31
  ]
32
32
  dev = [
33
33
  "tox",
34
34
  ]
35
35
  docs = [
36
36
  "sphinx",
37
+ "furo",
37
38
  ]
38
39
 
39
40
  [tool.setuptools]
@@ -55,10 +55,11 @@ class AsyncClient(base_client.BaseClient):
55
55
  use. To disable logging set to ``False``. The default is
56
56
  ``False``. Note that fatal errors are logged even when
57
57
  ``logger`` is ``False``.
58
- :param json: An alternative json module to use for encoding and decoding
58
+ :param json: An alternative JSON module to use for encoding and decoding
59
59
  packets. Custom json modules must have ``dumps`` and ``loads``
60
60
  functions that are compatible with the standard library
61
- versions.
61
+ versions. This is a process-wide setting, all instantiated
62
+ servers and clients must use the same JSON module.
62
63
  :param request_timeout: A timeout in seconds for requests. The default is
63
64
  5 seconds.
64
65
  :param http_session: an initialized ``aiohttp.ClientSession`` object to be
@@ -64,10 +64,11 @@ class AsyncServer(base_server.BaseServer):
64
64
  :param logger: To enable logging set to ``True`` or pass a logger object to
65
65
  use. To disable logging set to ``False``. Note that fatal
66
66
  errors are logged even when ``logger`` is ``False``.
67
- :param json: An alternative json module to use for encoding and decoding
68
- packets. Custom json modules must have ``dumps`` and ``loads``
67
+ :param json: An alternative JSON module to use for encoding and decoding
68
+ packets. Custom JSON modules must have ``dumps`` and ``loads``
69
69
  functions that are compatible with the standard library
70
- versions.
70
+ versions. This is a process-wide setting, all instantiated
71
+ servers and clients must use the same JSON module.
71
72
  :param async_handlers: If set to ``True``, run message event handlers in
72
73
  non-blocking threads. To run handlers synchronously,
73
74
  set to ``False``. The default is ``True``.
@@ -34,10 +34,11 @@ class Client(base_client.BaseClient):
34
34
  use. To disable logging set to ``False``. The default is
35
35
  ``False``. Note that fatal errors are logged even when
36
36
  ``logger`` is ``False``.
37
- :param json: An alternative json module to use for encoding and decoding
37
+ :param json: An alternative JSON module to use for encoding and decoding
38
38
  packets. Custom json modules must have ``dumps`` and ``loads``
39
39
  functions that are compatible with the standard library
40
- versions.
40
+ versions. This is a process-wide setting, all instantiated
41
+ servers and clients must use the same JSON module.
41
42
  :param request_timeout: A timeout in seconds for requests. The default is
42
43
  5 seconds.
43
44
  :param http_session: an initialized ``requests.Session`` object to be used
@@ -63,10 +63,11 @@ class Server(base_server.BaseServer):
63
63
  use. To disable logging set to ``False``. The default is
64
64
  ``False``. Note that fatal errors are logged even when
65
65
  ``logger`` is ``False``.
66
- :param json: An alternative json module to use for encoding and decoding
67
- packets. Custom json modules must have ``dumps`` and ``loads``
66
+ :param json: An alternative JSON module to use for encoding and decoding
67
+ packets. Custom JSON modules must have ``dumps`` and ``loads``
68
68
  functions that are compatible with the standard library
69
- versions.
69
+ versions. This is a process-wide setting, all instantiated
70
+ servers and clients must use the same JSON module.
70
71
  :param async_handlers: If set to ``True``, run message event handlers in
71
72
  non-blocking threads. To run handlers synchronously,
72
73
  set to ``False``. The default is ``True``.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-engineio
3
- Version: 4.13.0
3
+ Version: 4.13.1
4
4
  Summary: Engine.IO server and client for Python
5
5
  Author-email: Miguel Grinberg <miguel.grinberg@gmail.com>
6
6
  License: MIT
@@ -18,11 +18,12 @@ Provides-Extra: client
18
18
  Requires-Dist: requests>=2.21.0; extra == "client"
19
19
  Requires-Dist: websocket-client>=0.54.0; extra == "client"
20
20
  Provides-Extra: asyncio-client
21
- Requires-Dist: aiohttp>=3.4; extra == "asyncio-client"
21
+ Requires-Dist: aiohttp>=3.11; extra == "asyncio-client"
22
22
  Provides-Extra: dev
23
23
  Requires-Dist: tox; extra == "dev"
24
24
  Provides-Extra: docs
25
25
  Requires-Dist: sphinx; extra == "docs"
26
+ Requires-Dist: furo; extra == "docs"
26
27
  Dynamic: license-file
27
28
 
28
29
  python-engineio
@@ -1,7 +1,7 @@
1
1
  simple-websocket>=0.10.0
2
2
 
3
3
  [asyncio_client]
4
- aiohttp>=3.4
4
+ aiohttp>=3.11
5
5
 
6
6
  [client]
7
7
  requests>=2.21.0
@@ -12,3 +12,4 @@ tox
12
12
 
13
13
  [docs]
14
14
  sphinx
15
+ furo
@@ -36,6 +36,7 @@ commands=
36
36
  changedir=docs
37
37
  deps=
38
38
  sphinx
39
+ furo
39
40
  allowlist_externals=
40
41
  make
41
42
  commands=
@@ -1,33 +0,0 @@
1
- API Reference
2
- =============
3
-
4
- .. toctree::
5
- :maxdepth: 3
6
-
7
- .. module:: engineio
8
-
9
- .. autoclass:: Client
10
- :members:
11
- :inherited-members:
12
-
13
- .. autoclass:: AsyncClient
14
- :members:
15
- :inherited-members:
16
-
17
- .. autoclass:: Server
18
- :members:
19
- :inherited-members:
20
-
21
- .. autoclass:: AsyncServer
22
- :members:
23
- :inherited-members:
24
-
25
- .. autoclass:: WSGIApp
26
- :members:
27
-
28
- .. autoclass:: ASGIApp
29
- :members:
30
-
31
- .. autoclass:: Middleware
32
- :members:
33
-