awesome-python icon indicating copy to clipboard operation
awesome-python copied to clipboard

adding aiosonic for websockets

Open sonic182 opened this issue 10 months ago • 0 comments

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+.

sonic182 avatar Feb 17 '25 22:02 sonic182