MyGit

frankie567/httpx-ws

Fork: 15 Star: 105 (更新于 2024-10-15 15:56:10)

license: MIT

Language: Python .

WebSocket support for HTTPX

最后发布版本: v0.6.0 ( 2024-04-05 14:43:49)

官方网址 GitHub网址

HTTPX WS

WebSockets support for HTTPX

build codecov All Contributors PyPI version Downloads

Subscribe


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):

François Voron
François Voron

🚧 💻
Kousik Mitra
Kousik Mitra

💻
David Brochart
David Brochart

📦 💻
ysmu
ysmu

🐛
Sam Foreman
Sam Foreman

🐛
Marc-Antoine Parent
Marc-Antoine Parent

🐛 💻
Marcelo Trylesinski
Marcelo Trylesinski

🐛 🔬
MtkN1
MtkN1

🐛 🔬
Tom Christie
Tom Christie

🐛 🔬
David Montague
David Montague

🐛
Sean Wang
Sean Wang

💻
Alex Grönholm
Alex Grönholm

🐛 💻
Rodrigo de Oliveira Neto
Rodrigo de Oliveira Neto

🐛 💻

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-11-05 15:03:24 Cinnamon/kotaemon

2024-11-05 11:00:51 home-assistant/core

2024-11-04 23:11:11 DS4SD/docling

2024-11-04 10:56:18 open-compass/opencompass

2024-11-04 08:51:21 yt-dlp/yt-dlp

2024-11-02 04:45:40 princeton-vl/infinigen