Skip to main content

Need proxy? Catch it.

Project description

Need proxy? You`re welcome.

To parse really big site in a small amount of time you need to make hundreds of requests concurrently and not being banned (that’s mainly impossible to do from one IP).

So, proxipy could help you with this.

It returns a random proxy (or list of proxies) to use it directly in requests module.

Installation

$ pip install proxipy

Usage

First, we need to import our module (and/or requests):

>>> from proxipy import proxipy
>>> import requests

And use it with/out filters:

>>> prox = proxipy()
>>> prox
{'http': ..., 'https': ...}
>>> req = requests.get('http://httpbin.org/get',
...                    proxies=proxipy(country='US', port=8080))
>>> req
<Response [...]>

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

proxipy-1.1.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

proxipy-1.1-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file proxipy-1.1.tar.gz.

File metadata

  • Download URL: proxipy-1.1.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for proxipy-1.1.tar.gz
Algorithm Hash digest
SHA256 e90d7554e9058c58490bf64b57fe6d378d1709aa54f0a36b1ca7dd8cec21e6c2
MD5 01809d982a1b7c2ad2afbbd8959008fb
BLAKE2b-256 02881a113eb1dd3c35bd37d6f42c2131fb0ee51a87bdef0efe8298c0aa99409f

See more details on using hashes here.

File details

Details for the file proxipy-1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: proxipy-1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for proxipy-1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 19bc7f7ecc4954481c0a2e11d33f2f697b74d563f49126c718992b15f09931e6
MD5 df340acbb979b1d9a438f13a06a9af2c
BLAKE2b-256 05f90537482a54269a338dab71d40939504af24cfca2eeb8fc6dfd52281998f6

See more details on using hashes here.

Supported by

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