proto-socket/python
toki 1419895ed6 feat: add TLS WebSocket crosstest support across all languages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 19:24:15 +09:00
..
crosstest feat: add TLS WebSocket crosstest support across all languages 2026-04-26 19:24:15 +09:00
test sync: update communicator implementation across all languages 2026-04-26 05:31:56 +09:00
toki_socket sync: update communicator implementation across all languages 2026-04-26 05:31:56 +09:00
pyproject.toml sync: update communicator implementation across all languages 2026-04-26 05:31:56 +09:00
README.md feat: add Python implementation and cross-test support 2026-04-23 16:44:43 +09:00

Toki Socket Python

Python 3.11+ implementation of the Toki Socket protocol.

Supported Transports

Transport Status
TCP Supported
WebSocket Supported
TLS+TCP Not supported yet
WSS Not supported yet

TLS and WSS are intentionally out of scope for this first Python port.

Development

Install the package with test dependencies:

python -m pip install -e ".[dev]"

Run same-language tests:

python -m pytest test/ -v

Run Go/Python crosstests:

python crosstest/python_go.py