proto-socket/python/README.md
toki fa273bcc26 feat: add Python implementation and cross-test support
- Add Python toki_socket package (base_client, communicator, tcp/ws client/server)
- Add protobuf message definitions for Python
- Add go_python.go cross-test implementation and python_go_client
- Add agent-task/python_impl plan and code review docs
- Update .gitignore for Python cache files with recursive patterns
2026-04-23 16:44:43 +09:00

573 B

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