Managing list of proxies
Project description
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.4.tar.gz
(4.4 kB
view details)
File details
Details for the file proxylist-0.1.4.tar.gz
.
File metadata
- Download URL: proxylist-0.1.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2bde1a0f23cd9213732c646fbcd489ec97edbc12afb07062e50540d1ad21fe3 |
|
MD5 | 740a99c082e56c6041cf204220c655a6 |
|
BLAKE2b-256 | 93b7139c28b61e30fa12aedc687e6d0eb8584709588c07017b6d82c109fc8411 |