Skip to main content

wproxy

A Python 3 websocket proxy

Installing Through PyPi

pip3 install wproxy

Using the library

from wproxy import WProxy

this_proxy = WProxy(
    host="0.0.0.0",
    port=9002,
    url="wss://urltoproxy.com",
    ssl_cert="cert.pem", # optional
    ssl_key="priv.pem", # optional
)

this_proxy.run()

Running the console script

wproxy --url wss://urltoproxy.com:8888 --port 9002 --headers "Sec-WebSocket-Protocol:sip" --ssl_cert fullchain1.pem --ssl_key privkey1.pem

Release files for wproxy 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wproxy 0.0.2
File Size Uploaded
wproxy-0.0.2.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wproxy 0.0.2
File Interpreter ABI Platform
wproxy-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / wproxy-0.0.2.tar.gz

Download URL wproxy-0.0.2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
95ca6caa6e13f8919e3f4f718b8fe19e41ccdd2ec99092bbf044866497a81c6e
BLAKE2b-256 checksum
How to use checksums
2bc1247ce4f56ce020309a29ded870d71fd186bd2b754195083441a34ff463d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / wproxy-0.0.2-py3-none-any.whl

Download URL wproxy-0.0.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b63d1ad3224cecf29c1dd180b584791a4eed58d3e877516732d1b10866d3049
BLAKE2b-256 checksum
How to use checksums
e61e99cec2845eff488d2668f6d5a5b35f82f74a92d087f7f9bcd7c52022df34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page