37 lines
653 B
Markdown
37 lines
653 B
Markdown
# Proto Socket Python
|
|
|
|
Python 3.11+ implementation of the Proto Socket protocol.
|
|
|
|
## Supported Transports
|
|
|
|
| Transport | Status |
|
|
|-----------|--------|
|
|
| TCP | Supported |
|
|
| WebSocket | Supported |
|
|
| TLS+TCP | Supported |
|
|
| WSS | Supported |
|
|
|
|
TLS and WSS use caller-provided `ssl.SSLContext` values.
|
|
|
|
## Development
|
|
|
|
Install the package with test dependencies:
|
|
|
|
```bash
|
|
python -m pip install -e ".[dev]"
|
|
```
|
|
|
|
Run same-language tests:
|
|
|
|
```bash
|
|
python -m pytest test/ -v
|
|
```
|
|
|
|
Run cross-language crosstests:
|
|
|
|
```bash
|
|
python crosstest/python_dart.py
|
|
python crosstest/python_go.py
|
|
python crosstest/python_kotlin.py
|
|
python crosstest/python_typescript.py
|
|
```
|