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

Metadata

Release files for proxyhubb 0.3.1

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.1
File Size Uploaded Provenance Actions
proxyhubb-0.3.1.tar.gz 10.2 kB Without provenance Details for proxyhubb-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 19.0 kB

Release files / proxyhubb-0.3.1.tar.gz

Download URL proxyhubb-0.3.1.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4c15d7312f049392af8a4eb7c2869e4cd399666b10ea4e69ee5d37cf8d73e632
BLAKE2b-256 checksum
How to use checksums
44e4fedf8ddeedb0e2d8aef51258a845b22fe300e48f8100e262ed01704aae9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

Download URL proxyhubb-0.3.1-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f7c4436a66b26e870a52a1122484cdd296c24725af73986042507f2cedeaf26
BLAKE2b-256 checksum
How to use checksums
26dd70532435b350b5cecdcf573c8bc77380c1548480198d2183343056370162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for proxyhubb 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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