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.1.0.20260211.tar.gz (13.5 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.1.0.20260211.tar.gz.

File metadata

  • Download URL: python_socketio_stubs-5.16.1.0.20260211.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.1.0.20260211.tar.gz
Algorithm Hash digest
SHA256 90bf79e7955b808386b614d7edd42e712ef99b0dedbcee6ab7ce51b3f16ac831
MD5 cdd2fc804de0ea5aaaf6d00ddd8593fb
BLAKE2b-256 e905c5f95c84174a94a02cb44d6ccb0e30f66e9b60b730a4d3f09b99491f015d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_socketio_stubs-5.16.1.0.20260211-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.1.0.20260211-py3-none-any.whl
Algorithm Hash digest
SHA256 ce6f5c47d2f788759538b55cfee46aeb8db4102f0901b2f460680a6964d8059e
MD5 0538f58330da75a9c9d84d762ded5d2c
BLAKE2b-256 d79bd7b8b36b05a7261d3a5d60f25fce6eb428235bc274282a41ed7f34beece5

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