awesome-python
awesome-python copied to clipboard
adding aiosonic for websockets
What is this Python project?
aiosonic is a super‑fast, lightweight asyncio HTTP client with built‑in WebSocket support. It features:
- Smart connection pooling & keepalive
- Multipart/chunked data handling
- Timeout controls & automatic decompression
- Experimental HTTP/2 support
- WebSocket support: Text, binary, and JSON messages, with automatic ping/pong keep‑alive and back pressure (internal queues + dedicated socket reading task).
What's the difference between this Python project and similar ones?
- Async-first design: Fully non‑blocking with efficient concurrency.
- Advanced WebSocket support: Built-in protocol handler, robust message queuing, and automatic keep‑alive.
- Modern & lightweight: Fully type‑annotated, designed for Python 3.8+.