proto-socket/python
toki 9cc1f1d58f sync: update communicator implementation across all languages
- Align protocol documentation (PROTOCOL.md, README.md, VERSIONING.md)
- Go: add nonce test, update communicator
- Kotlin: update Communicator, TcpClient, TcpServer, add TLS test
- Python: update all modules, add certificate test resources
- TypeScript: update communicator, tcp/ws clients and servers, add tests
- Dart: update communicator, heartbeat mixin, and tests
2026-04-26 05:31:56 +09:00
..
crosstest feat: add typescript implementation and crosstest files 2026-04-24 07:16:37 +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