ray-haproxy
HAProxy binary distribution for Ray Serve
Decision gist · record as of 2026-08-14
Yes, if you are using Ray Serve on Linux (x86_64 or aarch64) and want to avoid system-level HAProxy installation. The package is actively maintained, has no known vulnerabilities, and solves a real dependency management problem. Be aware of the GPLv2 copyleft license if you are distributing derived works, and note that it is Linux-only with a Python >=3.9 requirement.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Linux x86_64 or aarch64 only; requires Python >=3.9; no Windows or macOS support.
- Medium install friction due to platform-specific wheels (x86_64 and aarch64 Linux only).
- Package is actively maintained with a recent release cycle.
License · maintenance · safety
GPLv2 (copyleft) — Distributed under GPLv2 (copyleft). Any derivative work or distribution of this package must comply with GPLv2 terms, including source code disclosure obligations.
last release 2026-06-29 (46 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 117,781 downloads/mo, #12,149 on PyPI
Alternatives
Verify before relying
pip install ray-haproxy
from ray_haproxy import get_haproxy_binary
print(get_haproxy_binary()) # /path/to/ray_haproxy/bin/haproxy- Whether Ray Serve automatically uses this package when installed, or if explicit configuration is required.
- Performance characteristics or overhead compared to system-level HAProxy installation.
What it is and what it does
ray-haproxy packages a pre-compiled HAProxy binary with all its non-standard shared library dependencies (OpenSSL 3.0.x, Lua 5.4.x, PCRE, libxcrypt) vendored inside the wheel. This eliminates the need to install HAProxy at the system level before using Ray Serve. The package resolves the HAProxy binary in order: first checking the RAY_SERVE_HAPROXY_BINARY environment variable for an explicit override, then falling back to the bundled binary, and finally to any haproxy on the system PATH.
The bundled libraries are built from source or extracted from manylinux2014 containers to ensure compatibility across Linux distributions. Standard system libraries (libc, libz, libpthread, etc.) listed in PEP 599 are not vendored, as they are guaranteed to exist on compatible systems. This approach allows Ray Serve deployments to run HAProxy without requiring administrators to manage system package dependencies.
Use it for
- Deploy Ray Serve on Linux systems where HAProxy is not pre-installed or where system package management is restricted.
- Containerize Ray Serve applications with a self-contained HAProxy binary, avoiding base image bloat from system package managers.
- Use Ray Serve's load balancing in CI/CD pipelines or ephemeral compute environments where system-level HAProxy installation is impractical.
- Override the default HAProxy binary via RAY_SERVE_HAPROXY_BINARY for testing or custom HAProxy builds.
- Ensure consistent HAProxy versions across heterogeneous Linux deployments (x86_64 and aarch64).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using Ray Serve on Linux (x86_64 or aarch64) and want to avoid system-level HAProxy installation.
The package is actively maintained, has no known vulnerabilities, and solves a real dependency management problem. Be aware of the GPLv2 copyleft license if you are distributing derived works, and note that it is Linux-only with a Python >=3.9 requirement.
Install
ray-haproxy on PyPI
Before you install
Medium install friction due to platform-specific wheels (x86_64 and aarch64 Linux only). Package is actively maintained with a recent release cycle.
Linux x86_64 or aarch64 only; requires Python >=3.9; no Windows or macOS support.
License in practice
Distributed under GPLv2 (copyleft). Any derivative work or distribution of this package must comply with GPLv2 terms, including source code disclosure obligations.
Quickstart
pip install ray-haproxy
from ray_haproxy import get_haproxy_binary
print(get_haproxy_binary()) # /path/to/ray_haproxy/bin/haproxy
Verify before relying
- Whether Ray Serve automatically uses this package when installed, or if explicit configuration is required.
- Performance characteristics or overhead compared to system-level HAProxy installation.
Package facts
| License | GPLv2 copyleft |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 46 days since the last release |
| First released | |
| Downloads | 117,781 / month, #12,149 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: POSIX :: LinuxProgramming Language :: Python :: 3Topic :: Internet :: Proxy Servers |
Evidence: ray_haproxy-2.8.25-py3-none-manylinux_2_17_aarch64.whl; ray_haproxy-2.8.25-py3-none-manylinux_2_17_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “haproxy binary distribution”
- ray-haproxyProvides a pre-built HAProxy binary bundled with its required shared…
- proxy-protocolParses and handles the PROXY protocol (v1 and v2) for asyncio-based…
- django-dbconn-retryAutomatically reconnects Django database connections when the…
Give your agent the search over MCP, or paste the wish link into any chat.
More Proxy Servers packages
Socksio is a sans-I/O SOCKS protocol implementation that handles the protocol logic for SOCKS4, SOCKS4A, and SOCKS5 proxies without managing network I/O itself, letting you integrate it with any I/O library.
Reads MaxMind DB files to look up geolocation and other data indexed by IP address, with both pure Python and optional C extension implementations.
Queries MaxMind's GeoIP web services and databases to look up geographic and network information for IP addresses, returning country, city, subdivision, postal, and location data.
Install it if you need to look up IP geolocation data; it is the standard choice for this task.
Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.
mitmproxy is an interactive, SSL/TLS-capable intercepting proxy that captures and inspects HTTP/1, HTTP/2, and WebSocket traffic with console, command-line, or web-based interfaces.
Install it if you need interactive traffic inspection, debugging, or testing capabilities.
pyngrok wraps the ngrok reverse-proxy binary and exposes it through a Python API, allowing you to programmatically open secure tunnels from public URLs to localhost.
See also cmeel-zlib · dlib-bin · ray · protoc-wheel-0 · delvewheel · pyinstaller · PyQt6-WebEngine-Qt6 · PyQt6-Qt6 · prefect-ray · embreex