Skip to main content

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

Release files for proxyhubb 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proxyhubb 0.3.0
File Size Uploaded
proxyhubb-0.3.0.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for proxyhubb 0.3.0
File Interpreter ABI Platform
proxyhubb-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.2 kB

Release files / proxyhubb-0.3.0.tar.gz

Download URL proxyhubb-0.3.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
541f66409a28ae31b12956d718839d60f62fb0afdbff7a03b0ac4a1a3764e877
BLAKE2b-256 checksum
How to use checksums
8aa3ddb6d881eccab4a50b8edaff5bba15b2510d0d689bd6981d87c43710a0b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / proxyhubb-0.3.0-py3-none-any.whl

Download URL proxyhubb-0.3.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0378a230ce2b1e37682b12860d42abd4b1f4d63ac0fd6820a32d3ee9716cbdb1
BLAKE2b-256 checksum
How to use checksums
e1279fb539b13790070d8c50784de4d9b5b23b30e2cde692355edcd8fe493013
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

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