Skip to main content

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.

  • proxy is the proxy's address, http://<host>:<port>.
  • An http:// URL is sent to the proxy as an absolute-form request. An https:// URL goes through a CONNECT tunnel, and the server's certificate is verified as usual. tunnel=True sends an http:// URL through a tunnel as well.
  • proxy_auth=("user", "password") authenticates to the proxy with Basic Proxy-Authorization.
  • method, headers, body and timeout (in seconds, default 30) are the request's own. ssl_context replaces the default TLS context for an https:// URL.
  • A proxy that refuses the tunnel raises ProxyError, with the status it answered. A proxy address that is not http://<host>:<port> raises ValueError.

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)

Source distribution for memorylake-proxy 0.0.1
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)

Table of built distributions (wheels) for memorylake-proxy 0.0.1
File Interpreter ABI Platform Actions
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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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