Skip to main content

Managing list of proxies

Project description

https://travis-ci.org/lorien/proxylist.png?branch=master https://img.shields.io/pypi/dm/proxylist.svg https://img.shields.io/pypi/v/proxylist.svg https://readthedocs.org/projects/proxylist/badge/?version=latest

What is proxylist library?

The proxylist lib is for loading list of proxy servers and rotate/select them in you network client. Proxylist supports loading data from:

  • local file

  • network resource

  • python list of dicts

Usage Example

>>> from proxylist import ProxyList
>>> pl = ProxyList()
>>> pl.load_file('/web/proxy.txt')
>>> pl.random()
<proxylist.base.Proxy object at 0x7f1882d599e8>
>>> pl.random().address()
'1.1.1.1:8085'
>>> len(pl)
1000

Installation

Use pip:

$ pip install -U proxylist

Contribution

Use github to submit bug,fix or wish request: https://github.com/lorien/proxylist/issues

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

proxylist-0.1.2.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file proxylist-0.1.2.tar.gz.

File metadata

  • Download URL: proxylist-0.1.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for proxylist-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cb2a2c1b48b40f95631ff00e2698e49fcdfa3fdb471a3f843bf0a6d80e7fd9c5
MD5 188447410ff545c821a1e78d6725ad7b
BLAKE2b-256 8befd929b654596236dec09f726b93cf0f70c104f1e591738bf33f9ac2c8c7db

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