urllib3 with ProxyPanel
ProgrammingBy ProxyPanel Engineering Team
Updated Feb 25, 2026urllib3 with ProxyPanel
urllib3 is a low-level HTTP client that powers the requests library.
Installation
pip install urllib3
Usage
import urllib3
proxy = urllib3.ProxyManager(
"http://proxy-host:http-port/",
proxy_headers=urllib3.make_headers(
proxy_basic_auth="api-key:api-key"
)
)
response = proxy.request("GET", "https://httpbin.org/ip")
print(response.data.decode())
For SOCKS5 support with urllib3, use the
PySockspackage or switch torequestswith SOCKS support.