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.0.0.20260117
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.0.0.20260117.tar.gz | 13.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_socketio_stubs-5.16.0.0.20260117-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.2 kB
Release files / python_socketio_stubs-5.16.0.0.20260117.tar.gz
| Download URL | python_socketio_stubs-5.16.0.0.20260117.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a30478cde8cbbdb47372058ef4c7cd090faa84f1a1fc6172535369e12668ff89
|
|
BLAKE2b-256 checksum How to use checksums |
5bd195a712b0e8d9a230cbd3e468b864bbd2830c43bcbfef2893af30f260cc85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.0.0.20260117-py3-none-any.whl
| Download URL | python_socketio_stubs-5.16.0.0.20260117-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3086d78b145ee7e0b9f6511c8399a22289b725866f90bada48300f715114a16f
|
|
BLAKE2b-256 checksum How to use checksums |
931919dd45f4bb5608d6a1bf4ffdd2f4c96484d9024ef5c22a3912c39df4732e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}
|