python-socketio stubs
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_socketio_stubs-5.16.0.0.20260117.tar.gz.
File metadata
- Download URL: python_socketio_stubs-5.16.0.0.20260117.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a30478cde8cbbdb47372058ef4c7cd090faa84f1a1fc6172535369e12668ff89
|
|
| MD5 |
26c693636a009bbc28068a49b3ea8042
|
|
| BLAKE2b-256 |
5bd195a712b0e8d9a230cbd3e468b864bbd2830c43bcbfef2893af30f260cc85
|
File details
Details for the file python_socketio_stubs-5.16.0.0.20260117-py3-none-any.whl.
File metadata
- Download URL: python_socketio_stubs-5.16.0.0.20260117-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3086d78b145ee7e0b9f6511c8399a22289b725866f90bada48300f715114a16f
|
|
| MD5 |
ec8dc576bee070731530b5eeb80f8394
|
|
| BLAKE2b-256 |
931919dd45f4bb5608d6a1bf4ffdd2f4c96484d9024ef5c22a3912c39df4732e
|