...Fully passes the WebSocket autobahn-testsuite. Single dependency. JSON and protobuf helpers in the wsjson and wspb subpackages. Zero alloc reads and writes. Concurrent writes. Close handshake. net.Conn wrapper. Ping pong API. RFC 7692 permessage-deflate compression. Compile to Wasm. Transparent message buffer reuse with wsjson and wspb subpackages. Gorilla writes directly to a net.Conn and so duplicates features of net/http.Client. Gorilla requires registering a pong callback before sending a Ping. Compare godoc of nhooyr.io/websocket with gorilla/websocket side by side. ...
This project offers a python binding to the libindi library. It uses the Simplified Wrapper and Interface Generator (SWIG). You may generate a PyIndi module which mainly defines an IndiClient class. This class could be used to build python scripts able to interact with indi servers using sendNew* methods and implementing new* methods of the BaseMediator class. PyQt applications may also be built on top of IndiClient, thus allowing rapid development of GUI Indi clients.
Sockette is a tiny (367 bytes) wrapper around WebSocket that will automatically reconnect if the connection is lost. In addition to attaching additional API methods, Sockette allows you to reuse instances, avoiding the need to redeclare all event listeners. You have direct access to the (current) underlying WebSocket within every EventListener callback.