Skip to main content

python-socketio stubs

Project description

python-socketio-stubs

License: MIT PyPI version python version

Type stubs for the python-socketio library.

[!NOTE]
This package provides type hints only and contains no runtime code.
For the actual runtime implementation, install python-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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_socketio_stubs-5.16.3.0.20260618.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file python_socketio_stubs-5.16.3.0.20260618.tar.gz.

File metadata

  • Download URL: python_socketio_stubs-5.16.3.0.20260618.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for python_socketio_stubs-5.16.3.0.20260618.tar.gz
Algorithm Hash digest
SHA256 70a021ccd09b79eba3b031b2ae88bb4af921162b35a754ab8fd3417a9eb8e705
MD5 ce324c6f5a9983a9d4c1b2d3f450a5fe
BLAKE2b-256 92cc2486988838ed8bb763ba84c21e689fe2a893a76b2dd9b993db31264cb7f8

See more details on using hashes here.

File details

Details for the file python_socketio_stubs-5.16.3.0.20260618-py3-none-any.whl.

File metadata

  • Download URL: python_socketio_stubs-5.16.3.0.20260618-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for python_socketio_stubs-5.16.3.0.20260618-py3-none-any.whl
Algorithm Hash digest
SHA256 8f804cad14e12974a6d841b34e29fa02b8a417c19efffa7a8d29c8521f03e75f
MD5 76294c066f01070aca18da680a68d524
BLAKE2b-256 7f4641ae8dd6428296ebc9416a9f5dd4b4c046103aa8e6f24a20367f5f0240c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page