Official Python SDK for ProxyHubb (session intents, orders, bulk pools)
Project description
proxyhubb
Official Python client for ProxyHubb Connect (session intents), marketplace credentials, and bulk pools.
Install
pip install proxyhubb
Auth
- API key (
phub_…): bulk pools —X-API-Key - JWT (dashboard): session intents + order credentials —
Authorization: Bearer
Quick start — Connect (rotating / sticky)
from proxyhubb import ProxyHubClient, session_intent_proxy_url
import requests
client = ProxyHubClient(access_token="eyJ...") # dashboard JWT
intent = client.create_session_intent("rotating", target_geo="US")
proxies = client.as_requests_proxy_from_intent(intent["token"])
print(requests.get("https://httpbin.org/ip", proxies=proxies).json())
# or curl:
# curl -x "http://session-intent:TOKEN@proxy.proxyhubb.com:8090" https://httpbin.org/ip
Marketplace credentials
creds = client.get_order_credentials("ORDER_UUID")
proxies = client.as_requests_proxy_from_credentials(creds)
Bulk pools
client = ProxyHubClient("phub_...")
pool = client.create_pool("scrapers", size=5)
proxies = client.as_requests_proxy(pool["id"])
Buyer proxy is HTTP CONNECT / SOCKS5 (proxy.proxyhubb.com:8090). See docs/buyer-proxy.md.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
proxyhubb-0.2.0.tar.gz
(6.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file proxyhubb-0.2.0.tar.gz.
File metadata
- Download URL: proxyhubb-0.2.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
017750160c086e5abe272998687052ef4db41b3a34687816d43973cd3a672871
|
|
| MD5 |
17c251f26c02d1651711cefea015c102
|
|
| BLAKE2b-256 |
f32a5c74554c05af26cd2cebe50ecd83a4941ac2e173166a6d42564c3592ec61
|
File details
Details for the file proxyhubb-0.2.0-py3-none-any.whl.
File metadata
- Download URL: proxyhubb-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b96d2b7ce9eacc740a72905a60ae4ae46b989ce296acdeadabc07ceb6f854b5
|
|
| MD5 |
26f68eea4bd397d41b626a240730a431
|
|
| BLAKE2b-256 |
c70c712cddedec832e036ee450417d26313da20020c189fddb042ab17d8b1528
|