Skip to main content

WebSockets support for HTTPX

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

httpx_ws-0.6.1.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

httpx_ws-0.6.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file httpx_ws-0.6.1.tar.gz.

File metadata

  • Download URL: httpx_ws-0.6.1.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for httpx_ws-0.6.1.tar.gz
Algorithm Hash digest
SHA256 351c66b24a9a6c17800172681f310ff38afcda54e53989ad9c77ebd986380abe
MD5 9553dc3947bd7c22639cca5c9fca302d
BLAKE2b-256 5e2bf47c36c094bfd0214b04ce0f6a119b7976f52f3623918a61030915643c4e

See more details on using hashes here.

File details

Details for the file httpx_ws-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: httpx_ws-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for httpx_ws-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 580588a5164782b5126ee9f3ff822e606ef7b75527fbe88fd419541ee7f0cab7
MD5 63678f923544aa9990216a5c6d368cfb
BLAKE2b-256 7fee433e634673e8f9e4e5aed5a3f049baec3951dcf231b16982b6126fd14111

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page