Skip to main content
https://img.shields.io/badge/License-GPL%20v3-blue.svg https://badge.fury.io/py/be-proxy-ip.svg https://img.shields.io/travis/Gatsby-Lee/be-proxy-ip.svg

BE Proxy IP

Defining Proxy IP object

How to install

pip install be-proxy-ip

How to init ProxyIP object

Using ProxyIP init

>>> from be_proxy_ip import ProxyIP
>>> p = ProxyIP(proxy_ip='1.2.3.4',
....    proxy_port=8888,
....    proxy_username='hello',
....    proxy_pwd='doyouknow',
....    request_ip='1.2.3.4')
>>> print(p)
ProxyIP(proxy_ip='1.2.3.4', proxy_port=8888, request_ip='1.2.3.4', proxy_id=-1, num_ok_requests=0, num_banned_requests=0, num_timedout_requests=0, proxy_username='hello', proxy_pwd='*********', counted=0)

Using ProxyIP.create_from_tuple

Order in PROXY_INFO tuple

  1. proxy_id

  2. proxy_ip

  3. proxy_port

  4. proxy_username

  5. proxy_pwd

  6. last_request_time

  7. num_ok_requests

  8. num_banned_requests

  9. num_timedout_requests

  10. counted

  11. request_ip

>>> PROXY_INFO = [
...     1, '1.2.3.4', 3999, 'hello-proxy', 'hellop-proxy-pwd',
...     -1, 11, 22, 33, 44, '4.5.6.7'
... ]
>>> from be_proxy_ip import ProxyIP
>>> p = ProxyIP.create_from_tuple(PROXY_INFO)
>>> print(p)
ProxyIP(proxy_ip='1.2.3.4', proxy_port=3999, request_ip='4.5.6.7', proxy_id=1, num_ok_requests=11, num_banned_requests=22, num_timedout_requests=33, proxy_username='hello-proxy', proxy_pwd='****************', counted=44)

Metadata

Release files for be-proxy-ip 1.2.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 be-proxy-ip 1.2.0
File Size Uploaded
be-proxy-ip-1.2.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for be-proxy-ip 1.2.0
File Interpreter ABI Platform
be_proxy_ip-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 kB

Release files / be-proxy-ip-1.2.0.tar.gz

Download URL be-proxy-ip-1.2.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f99dad2f9b5f431752341083f3be09498058db52133ed770634701e1118bbeca
BLAKE2b-256 checksum
How to use checksums
75ec71478e515a5b58ef046dacb73b5e818fc5120a0b08031856236eaf032168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / be_proxy_ip-1.2.0-py3-none-any.whl

Download URL be_proxy_ip-1.2.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4582091c6f2b192b9abc203dab87c429a33283b3e8091445575ba885418ebd19
BLAKE2b-256 checksum
How to use checksums
45f57cc5aa8401a002b35f28caa783082d3002d9de6ee93f5a4e9e21508ab395
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.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