Skip to main content

Official Python SDK for JiBao Proxy — rotating residential, datacenter, mobile, and static proxies

Project description

jibaoproxy-python

Official Python SDK for JiBao Proxy — 72M+ residential IPs across 200+ countries, plus datacenter, mobile, and static proxies.

pip install jibaoproxy

Quick start

Get your sub-account ID from member.jibaoproxy.com → Dynamic Residential, then:

import requests
from jibaoproxy import JiBaoProxy

client = JiBaoProxy(username="c83d7fb7-afe7fa00", password="wifi")

# Rotating: new IP every call
for _ in range(3):
    r = requests.get("https://httpbin.org/ip", proxies=client.session())
    print(r.json()["origin"])

Sticky sessions

Re-use the same exit IP across requests (login flows, carts, etc.):

client = JiBaoProxy(username="c83d7fb7-afe7fa00")
proxies = client.sticky()      # holds one session
# ... many requests on the same IP ...
client.rotate()                # force a fresh exit IP

Geo targeting

# hk, us, jp, uk, de, sg, kr, tw, ca, au
client = JiBaoProxy(username="...", area="us")
requests.get("https://httpbin.org/ip", proxies=client.session())

See jibaoproxy.geo.AREAS for the full list.

SOCKS5

client = JiBaoProxy(username="...", protocol="socks5")
# requests needs `requests[socks]` for SOCKS5

API extract (IP-whitelist auth)

If you prefer IP whitelisting over user:pass:

from jibaoproxy import extract_ips

ips = extract_ips(token="YOUR_API_TOKEN", qty=10, area="us", type="wifi")
# ['1.2.3.4:8080', '5.6.7.8:8080', ...]

Async (httpx)

pip install jibaoproxy[async]
import httpx
from jibaoproxy import JiBaoProxy

client = JiBaoProxy(username="...")
async with httpx.AsyncClient(proxies=client.session()["http"]) as http:
    r = await http.get("https://httpbin.org/ip")

Proxy types

password What you get Price
wifi Residential, rotating $10/GB
dat Datacenter, rotating $1/GB
5g Mobile, rotating $15/GB

Static (per-IP, monthly) plans are also available — see jibaoproxy.com.

$5 free on signup

Create an account at jibaoproxy.com — every new user gets $5 of dynamic traffic, no card required.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jibaoproxy-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jibaoproxy-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file jibaoproxy-0.1.0.tar.gz.

File metadata

  • Download URL: jibaoproxy-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for jibaoproxy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e44c42e595650cc7c591079d04aaa6f91385cc02e1b2cad175a1cad40fde2a05
MD5 eaf4712afff9493bd3ed64c0595742e5
BLAKE2b-256 8ecafd6c45033a1bcf1f2fd3ef52d81ddcff5a250109e6ca491784d952f6424e

See more details on using hashes here.

File details

Details for the file jibaoproxy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jibaoproxy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for jibaoproxy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a1f0e58a057298a63ea5611603f4fdcd4d69165b61c1f80787852ae0c17aa1f
MD5 0be3315a46d8136c07a22c9192740aac
BLAKE2b-256 65af94e19f50e1c5652494f188b61e7971a384cf4edbfc8ffa68a78b2000aa16

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page