Initial commit (Clean history)

This commit is contained in:
anhduy-tech
2025-12-30 11:27:14 +07:00
commit ef48c93de0
19255 changed files with 3248867 additions and 0 deletions

View File

@@ -0,0 +1,74 @@
Metadata-Version: 2.4
Name: python-socketio
Version: 5.15.0
Summary: Socket.IO server and client for Python
Author-email: Miguel Grinberg <miguel.grinberg@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/miguelgrinberg/python-socketio
Project-URL: Bug Tracker, https://github.com/miguelgrinberg/python-socketio/issues
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: bidict>=0.21.0
Requires-Dist: python-engineio>=4.11.0
Provides-Extra: client
Requires-Dist: requests>=2.21.0; extra == "client"
Requires-Dist: websocket-client>=0.54.0; extra == "client"
Provides-Extra: asyncio-client
Requires-Dist: aiohttp>=3.4; extra == "asyncio-client"
Provides-Extra: dev
Requires-Dist: tox; extra == "dev"
Provides-Extra: docs
Requires-Dist: sphinx; extra == "docs"
Dynamic: license-file
python-socketio
===============
[![Build status](https://github.com/miguelgrinberg/python-socketio/workflows/build/badge.svg)](https://github.com/miguelgrinberg/python-socketio/actions) [![codecov](https://codecov.io/gh/miguelgrinberg/python-socketio/branch/main/graph/badge.svg)](https://codecov.io/gh/miguelgrinberg/python-socketio)
Python implementation of the `Socket.IO` realtime client and server.
Sponsors
--------
The following organizations are funding this project:
![Socket.IO](https://images.opencollective.com/socketio/050e5eb/logo/64.png)<br>[Socket.IO](https://socket.io) | [Add your company here!](https://github.com/sponsors/miguelgrinberg)|
-|-
Many individual sponsors also support this project through small ongoing contributions. Why not [join them](https://github.com/sponsors/miguelgrinberg)?
Version compatibility
---------------------
The Socket.IO protocol has been through a number of revisions, and some of these
introduced backward incompatible changes, which means that the client and the
server must use compatible versions for everything to work.
If you are using the Python client and server, the easiest way to ensure compatibility
is to use the same version of this package for the client and the server. If you are
using this package with a different client or server, then you must ensure the
versions are compatible.
The version compatibility chart below maps versions of this package to versions
of the JavaScript reference implementation and the versions of the Socket.IO and
Engine.IO protocols.
JavaScript Socket.IO version | Socket.IO protocol revision | Engine.IO protocol revision | python-socketio version
-|-|-|-
0.9.x | 1, 2 | 1, 2 | Not supported
1.x and 2.x | 3, 4 | 3 | 4.x
3.x and 4.x | 5 | 4 | 5.x
Resources
---------
- [Documentation](http://python-socketio.readthedocs.io/)
- [PyPI](https://pypi.python.org/pypi/python-socketio)
- [Change Log](https://github.com/miguelgrinberg/python-socketio/blob/main/CHANGES.md)
- Questions? See the [questions](https://stackoverflow.com/questions/tagged/python-socketio) others have asked on Stack Overflow, or [ask](https://stackoverflow.com/questions/ask?tags=python+python-socketio) your own question.

View File

@@ -0,0 +1,69 @@
python_socketio-5.15.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
python_socketio-5.15.0.dist-info/METADATA,sha256=gipnmz1W-gZcuP-VLOf29FdJhnDQnCsx6r31ym0gn_I,3244
python_socketio-5.15.0.dist-info/RECORD,,
python_socketio-5.15.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
python_socketio-5.15.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
python_socketio-5.15.0.dist-info/licenses/LICENSE,sha256=yel9Pbwfu82094CLKCzWRtuIev9PUxP-a76NTDFAWpw,1082
python_socketio-5.15.0.dist-info/top_level.txt,sha256=xWd-HVUanhys_VzQQTRTRZBX8W448ayFytYf1Zffivs,9
socketio/__init__.py,sha256=DXxtwPIqHFIqV4BGTgJ86OvCXD6Mth3PxBYhFoJ1_7g,1269
socketio/__pycache__/__init__.cpython-312.pyc,,
socketio/__pycache__/admin.cpython-312.pyc,,
socketio/__pycache__/asgi.cpython-312.pyc,,
socketio/__pycache__/async_admin.cpython-312.pyc,,
socketio/__pycache__/async_aiopika_manager.cpython-312.pyc,,
socketio/__pycache__/async_client.cpython-312.pyc,,
socketio/__pycache__/async_manager.cpython-312.pyc,,
socketio/__pycache__/async_namespace.cpython-312.pyc,,
socketio/__pycache__/async_pubsub_manager.cpython-312.pyc,,
socketio/__pycache__/async_redis_manager.cpython-312.pyc,,
socketio/__pycache__/async_server.cpython-312.pyc,,
socketio/__pycache__/async_simple_client.cpython-312.pyc,,
socketio/__pycache__/base_client.cpython-312.pyc,,
socketio/__pycache__/base_manager.cpython-312.pyc,,
socketio/__pycache__/base_namespace.cpython-312.pyc,,
socketio/__pycache__/base_server.cpython-312.pyc,,
socketio/__pycache__/client.cpython-312.pyc,,
socketio/__pycache__/exceptions.cpython-312.pyc,,
socketio/__pycache__/kafka_manager.cpython-312.pyc,,
socketio/__pycache__/kombu_manager.cpython-312.pyc,,
socketio/__pycache__/manager.cpython-312.pyc,,
socketio/__pycache__/middleware.cpython-312.pyc,,
socketio/__pycache__/msgpack_packet.cpython-312.pyc,,
socketio/__pycache__/namespace.cpython-312.pyc,,
socketio/__pycache__/packet.cpython-312.pyc,,
socketio/__pycache__/pubsub_manager.cpython-312.pyc,,
socketio/__pycache__/redis_manager.cpython-312.pyc,,
socketio/__pycache__/server.cpython-312.pyc,,
socketio/__pycache__/simple_client.cpython-312.pyc,,
socketio/__pycache__/tornado.cpython-312.pyc,,
socketio/__pycache__/zmq_manager.cpython-312.pyc,,
socketio/admin.py,sha256=pfZ7ZtcZ9-aeaFZkOR4mFhsNPcy9WjZs4_5Os6xc9tA,15966
socketio/asgi.py,sha256=NaJtYhOswVVcwHU0zcMM5H5TrSzXq9K-CAYaeSNTZRY,2192
socketio/async_admin.py,sha256=opwgGfkREXb_T25FL7At6hkC3hTfY33bDooyNi1Dgvw,16317
socketio/async_aiopika_manager.py,sha256=ehfnIFOJYseejaqs-xKQY3fJd8b59ZggL4SpprA3zCI,5190
socketio/async_client.py,sha256=E81GRuqjSeoGa_oIAYJg5BGWf_24GRDLmOamwWaneGQ,27992
socketio/async_manager.py,sha256=dSD2XVtWYwKHDWxAXSu4Xgqw6dXyy9P_6C8rwlguybM,4503
socketio/async_namespace.py,sha256=pSyJjIekWgydsmQHxmJvuc_NdI8SMGjGTAatLUtRvAk,12028
socketio/async_pubsub_manager.py,sha256=ex5r1hg3knJJdHQLhw-5wYwQ6m7Xy1weuCc6JcJzKq0,11282
socketio/async_redis_manager.py,sha256=aTwDIpDgZFiFp5PIN3F__zQCXzO52KuT3tI9P_Ur5S4,7146
socketio/async_server.py,sha256=WSoWReJeN89ornXiiDSSoRWGWhHwFIWaMXQgBkuKOuc,36537
socketio/async_simple_client.py,sha256=eZUgU9fz7c9lXhsbm4Ln95dinM9zxT3Ps2sML4HtT6Y,9016
socketio/base_client.py,sha256=LJzYynrxPuId7xbHAWiTPFlEAROQCLi8cOmiIDuc1Lk,11673
socketio/base_manager.py,sha256=H5RHxmiP7n2RmgkkPsJ7WocXu3AA2xjL9C2j28q-x1s,5999
socketio/base_namespace.py,sha256=mXECdZZ7jPLphU9yH4U4yOayqjMh6OyWgZ71mOJzl5A,970
socketio/base_server.py,sha256=JtHtmxFjtclcdORg7FIBoMtMxiaCFnuwulXrpLUSjUE,10637
socketio/client.py,sha256=bZvdIX35wKLlxkjOtsXyfyReI6eyjfHaVRDV4QNY_Mg,26238
socketio/exceptions.py,sha256=c8yKss_oJl-fkL52X_AagyJecL-9Mxlgb5xDRqSz5tA,975
socketio/kafka_manager.py,sha256=RGwh0cphbvOgXxy8Bw5dXtuI443R3y9eNptGwWoQXxA,2384
socketio/kombu_manager.py,sha256=Exfa4C02KTQV0RnZpm1-Mw0j6ugLzeTpoYMOzZUr3kc,5766
socketio/manager.py,sha256=RPYPcVBFAjN-fEtLfcsPlk6SOW_SBATvw0Tkq_PkGZw,3861
socketio/middleware.py,sha256=P8wOgSzy3YKOcRVI-r3KNKsEejBz_f5p2wdV8ZqW12E,1591
socketio/msgpack_packet.py,sha256=gSLKgYP88QAJ1J8sOmgGFvtRBmNH8QWPtHImWaXIqzs,1765
socketio/namespace.py,sha256=80y8BN2FFlHK8JKF1TirWvvE4pn9FkGKk14IVFkCLEs,9488
socketio/packet.py,sha256=N7jEjcqOUg2PPEooCoEglxVxhjRqJF-FZCPyDF-UDKQ,7120
socketio/pubsub_manager.py,sha256=jKMxojueyC2ET770RCly2x9aZe0ugWbpiFQo4vK0zk4,10583
socketio/redis_manager.py,sha256=Cc0FzFunSgA_Uvn2cNDn_-5FILssaGj9MY46ZGff3mg,8221
socketio/server.py,sha256=GySsIsfyFo_FsODf3mbH_Xbyj3OV_jviOwaG9AkDQAM,34925
socketio/simple_client.py,sha256=aSMTRO8LHBAWO2IV9uetL6_zwZgPGR-ts73x_4k3624,8434
socketio/tornado.py,sha256=R82JCqz-E1ibZAQX708h7FX3sguCHQ1OLYpnMag-LY8,295
socketio/zmq_manager.py,sha256=Dkm0atNtIUl7LRAmxH2rcmAtVsjR3zjL_wQ9CsjF3tE,3559

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: setuptools (80.9.0)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2015 Miguel Grinberg
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.