frankie567/httpx-ws
Fork: 17 Star: 109 (更新于 2024-11-28 18:34:09)
license: MIT
Language: Python .
WebSocket support for HTTPX
最后发布版本: v0.6.0 ( 2024-04-05 14:43:49)
HTTPX WS
WebSockets support for HTTPX
Documentation: https://frankie567.github.io/httpx-ws/
Source Code: https://github.com/frankie567/httpx-ws
Installation
pip install httpx-ws
Features
- Sync and async client
- Helper methods to send text, binary and JSON data
- Helper methods to receive text, binary and JSON data
- Automatic ping/pong answers
- HTTPX transport to test WebSockets defined in ASGI apps
- Automatic keepalive ping
-
asyncio
and Trio support through AnyIO
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Development
Setup environment
We use Hatch to manage the development environment and production build. Ensure it's installed on your system.
Run unit tests
You can run all the tests with:
hatch run test
Format the code
Execute the following command to apply linting and check typing:
hatch run lint
License
This project is licensed under the terms of the MIT license.
最近版本更新:(数据更新于 2024-09-28 13:42:09)
2024-04-05 14:43:49 v0.6.0
2024-03-19 16:22:19 v0.5.2
2024-02-23 00:04:18 v0.5.1
2024-02-10 03:29:48 v0.5.0
2023-12-04 16:44:38 v0.4.3
2023-09-27 14:57:38 v0.4.2
2023-07-06 22:31:51 v0.4.1
2023-06-27 21:20:28 v0.4.0
2023-04-15 19:53:32 v0.3.1
2023-02-15 20:24:09 v0.3.0
主题(topics):
httpx, websockets
frankie567/httpx-ws同语言 Python最近更新仓库
2024-12-22 09:03:32 ultralytics/ultralytics
2024-12-21 13:26:40 notepad-plus-plus/nppPluginList
2024-12-21 11:42:53 XiaoMi/ha_xiaomi_home
2024-12-21 04:33:22 comfyanonymous/ComfyUI
2024-12-20 18:47:56 home-assistant/core
2024-12-20 15:41:40 jxxghp/MoviePilot