asgiproxy
Tools for building HTTP and Websocket proxies for the asynchronous ASGI protocol.
Usage
Command line usage
asgiproxy includes a small command-line tool that transparently (aside from rewriting the "Host" header)
proxies all HTTP and WebSocket requests to another endpoint.
It may be useful on its own, and also serves as a reference on how to use the library.
While the library itself does not require Uvicorn, the CLI tool does.
$ python -m asgiproxy http://example.com/
starts a HTTP server on http://0.0.0.0:40404/ which should show you the example.com content.
API usage
Documentation forthcoming. For the time being, see asgiproxy/__main__.py.
Running tests
Tests are run with Py.test.
py.test
Metadata
Release files for asgiproxy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| asgiproxy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for asgiproxy-0.2.0-py3-none-any.whl |
Release files / asgiproxy-0.2.0-py3-none-any.whl
| Download URL | asgiproxy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b952917b2a3318c558f2cba6a91329b060af5621e5f4e301948d922fe2fdcc5b
|
|
BLAKE2b-256 checksum How to use checksums |
f1a9ceb963a6f5be13024f850816db1ab9b53efbcf4be688c64a4c1ecccda810
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.7
|
Security for asgiproxy 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.