Registry / http-networking / proxyproviders

proxyproviders

JSON →
library0.2.2pypypi✓ verified 82d ago

A Python library providing a unified interface for different proxy providers. Version 0.2.2, actively maintained with monthly releases. It abstracts API calls to various proxy services (e.g., BrightData, Oxylabs, Smartproxy) into a single API, supporting rotation, session management, and async usage.

pip install proxyproviders
INSTALL
IMPORT
SIG · PROXYPROVIDERS
P
proxyproviders
http-networkingpythonv0.2.2
Install
2.1s avg
Import
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 21.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.1s · import 0.000s · 22MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ProxyProvider
from proxyproviders import ProxyProvider
from proxyproviders import ProxyClient
BrightData
from proxyproviders import BrightData
Webshare
from proxyproviders import Webshare

Initialize a proxy client with an API key from environment variable and fetch a proxy.

import os from proxyproviders import ProxyClient # Initialize with a provider (e.g., 'brightdata') client = ProxyClient(provider='brightdata', api_key=os.environ.get('BRIGHTDATA_API_KEY', '')) proxy = client.get_proxy() print(proxy['http'])
Debug
Known issues
gotchaThe `get_proxy()` method returns a dict with keys 'http', 'https', and 'socks5' — not a string. Always access via dict keys.
fix
Use `proxy['http']` instead of treating the return as a string.
affects: all
breakingIn version 0.2.0, the `provider` parameter was renamed from `provider_name`. The old parameter name no longer works.
fix
Use `provider='your_provider'` instead of `provider_name='your_provider'`.
affects: >=0.2.0
deprecatedThe `BrightData` subclass is deprecated in favor of using the generic `ProxyClient` with `provider='brightdata'`.
fix
Replace `from proxyproviders import BrightData` with `from proxyproviders import ProxyClient; client = ProxyClient(provider='brightdata', ...)`.
affects: >=0.2.0
gotchaNot all providers support the same parameters. For example, 'brightdata' requires `api_key`, while 'oxylabs' requires `username` and `password`. Refer to provider-specific documentation.
fix
Check the library's provider docs or error messages for required auth fields.
affects: all
Upgrade
Version history
0.2.2latest on PyPI · released Mar 7, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Resources
proxyproviders — pip install proxyproviders · libregistry