memorylake-proxy
A small Python client that sends an HTTP request through an HTTP proxy. It uses the standard library only.
from memorylake_proxy import fetch
response = fetch("https://example.com/", proxy="http://127.0.0.1:3128")
print(response.status, response.header("content-type"), len(response.body))
fetch(url, *, proxy, ...) sends one request and returns a Response with
status, reason, headers and body.
proxyis the proxy's address,http://<host>:<port>.- An
http://URL is sent to the proxy as an absolute-form request. Anhttps://URL goes through aCONNECTtunnel, and the server's certificate is verified as usual.tunnel=Truesends anhttp://URL through a tunnel as well. proxy_auth=("user", "password")authenticates to the proxy with BasicProxy-Authorization.method,headers,bodyandtimeout(in seconds, default 30) are the request's own.ssl_contextreplaces the default TLS context for anhttps://URL.- A proxy that refuses the tunnel raises
ProxyError, with the status it answered. A proxy address that is nothttp://<host>:<port>raisesValueError.
Requires Python 3.9 or later. No dependencies.
Metadata
Release files for memorylake-proxy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| memorylake_proxy-0.0.1.tar.gz | 3.2 kB | Without provenance | Details for memorylake_proxy-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| memorylake_proxy-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for memorylake_proxy-0.0.1-py3-none-any.whl |
Total release size: 7.0 kB
Release files / memorylake_proxy-0.0.1.tar.gz
| Download URL | memorylake_proxy-0.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd133914c854976270b659fc19b89f2a9cc91e680d226771a48daa1d0635e9b5
|
|
BLAKE2b-256 checksum How to use checksums |
039f959e70fe327efd1a3afca9b07a41a4991c949f269aab88164ab278f4d3cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / memorylake_proxy-0.0.1-py3-none-any.whl
| Download URL | memorylake_proxy-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bc6a224b418048eba0e5b99dcf1011b76095184bf1f3b99e451066e8ee2b924
|
|
BLAKE2b-256 checksum How to use checksums |
15cc6c695607470a5d993172717a5b295d7fc5c4d70662f98d8a81a6ffb17290
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for memorylake-proxy 0.0.1
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.