- 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 |
||
|---|---|---|
| .. | ||
| crosstest | ||
| test | ||
| toki_socket | ||
| pyproject.toml | ||
| README.md | ||
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