{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/2"}],"enrichment":{"capability":"Parses and handles the PROXY protocol (v1 and v2) for asyncio-based servers, allowing detection of original client connection information when traffic passes through proxies or load balancers.","skillfed_tags":["asyncio","proxy-protocol","networking"],"use_cases":["Logging true client IPs in a web service behind a reverse proxy or load balancer.","Proxying connections between services while preserving original connection metadata.","Building a load balancer or proxy that needs to forward connection info to backend servers.","Debugging network topology by inspecting original vs. proxied connection information.","Integrating with HAProxy or other proxies that emit PROXY protocol headers."],"what_it_does":"proxy-protocol is a Python library that implements the PROXY protocol specification, enabling asyncio servers to read and interpret connection headers sent by proxies and load balancers. When traffic passes through a reverse proxy or load balancer, the original client's IP address and port are typically lost; the PROXY protocol solves this by prepending a header to the connection that encodes the original source and destination. This library detects and parses both PROXY protocol v1 (text-based) and v2 (binary) formats, extracting the original connection information so your server can log or act on the true client address.\n\nIntegration is designed to be straightforward with asyncio servers. The package depends only on typing-extensions and supports Python 3.8, 3.9, 3.10, 3.11, and 3.12. It includes reference server implementations and supports configuration-driven protocol selection\u2014detect automatically, enforce a specific version, or disable the protocol entirely.","worth_installing":"Yes, if you need PROXY protocol support in an asyncio server and are comfortable with dormant maintenance. The library is stable (Alpha status), has no known vulnerabilities, and low install friction. However, verify that the last update (2024-04-27) and lack of recent activity align with your support expectations\u2014if you need active maintenance or rapid bug fixes, evaluate alternatives or plan to maintain a fork."},"id":"proxy-protocol","links":{"html":"https://skillfed.io/packages/proxy-protocol","md":"https://skillfed.io/packages/proxy-protocol.md","pypi":"https://pypi.org/project/proxy-protocol/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-04-27","license_spdx":null,"license_treatment":"permissive","name":"proxy-protocol","python_support":"supports_current","summary":"PROXY protocol library with asyncio server implementation"},"popularity":{"monthly_downloads":1893391,"position":3458,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.11.3"}
