python-socketio-stubs
Type stubs for the python-socketio library.
[!NOTE]
This package provides type hints only and contains no runtime code.
For the actual runtime implementation, installpython-socketio.
Installation
pip install python-socketio-stubs
Usage
Once installed, type checkers will automatically discover and use these stubs when analyzing code that uses python-socketio:
from typing import Any, assert_type
import socketio
# Your type checker will now understand python-socketio's types
sio = socketio.Server()
@sio.event
def connect(sid: str, environ: dict[str, Any], auth: dict[str, Any] | None) -> None:
session = sio.get_session(sid)
assert_type(session, dict[str, Any])
License
MIT - see LICENSE for details.
Metadata
Release files for python-socketio-stubs 5.16.3.0.20260618
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_socketio_stubs-5.16.3.0.20260618.tar.gz | 13.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_socketio_stubs-5.16.3.0.20260618-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.0 kB
Release files / python_socketio_stubs-5.16.3.0.20260618.tar.gz
| Download URL | python_socketio_stubs-5.16.3.0.20260618.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70a021ccd09b79eba3b031b2ae88bb4af921162b35a754ab8fd3417a9eb8e705
|
|
BLAKE2b-256 checksum How to use checksums |
92cc2486988838ed8bb763ba84c21e689fe2a893a76b2dd9b993db31264cb7f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / python_socketio_stubs-5.16.3.0.20260618-py3-none-any.whl
| Download URL | python_socketio_stubs-5.16.3.0.20260618-py3-none-any.whl |
|---|---|
| Size | 26.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f804cad14e12974a6d841b34e29fa02b8a417c19efffa7a8d29c8521f03e75f
|
|
BLAKE2b-256 checksum How to use checksums |
7f4641ae8dd6428296ebc9416a9f5dd4b4c046103aa8e6f24a20367f5f0240c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|