Metadata-Version: 2.1
Name: websockets-assistant
Version: 2.8
Summary: Util for create websocket client(s) quickly
Home-page: https://github.com/lwzm/websockets-assistant
Author: lwzm
Author-email: lwzm@qq.com
License: UNKNOWN
Description: # websockets-assistant
        
        ### How to use it
        
        ```
        from websockets_assistant import client, run, sleep
        
        async def hello(ws):
            await ws.send("hello")
            await sleep(1)
            await ws.send("websocket")
            await sleep(0.1)
            await ws.close()
        
        # test 1
        async def main():
            await asyncio.gather(
                client("wss://echo.websocket.org/", log, hello, True),
                client("wss://echo.websocket.org/", log, hello, True),
                client("wss://echo.websocket.org/", log, hello, True),
            )
        run(main)
        
        # test 2
        def main():
            client("wss://echo.websocket.org/", log, hello, True),
            client("wss://echo.websocket.org/", log, hello, True),
        run(main)
        ```
        
Keywords: websockets,websocket,util,ws,wss
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
