Httpx Ws Save

WebSocket support for HTTPX

Project README

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

πŸ’»

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.

Open Source Agenda is not affiliated with "Httpx Ws" Project. README Source: frankie567/httpx-ws
Stars
87
Open Issues
4
Last Commit
1 month ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating