https://github.com/lorien/proxylist
Python library to work with proxy server items loaded from local file or network document.
https://github.com/lorien/proxylist
http-proxy https-proxy proxy proxy-configuration proxy-list proxy-server proxy-servers proxylist socks socks5 socks5-proxy
Last synced: 6 months ago
JSON representation
Python library to work with proxy server items loaded from local file or network document.
- Host: GitHub
- URL: https://github.com/lorien/proxylist
- Owner: lorien
- License: mit
- Created: 2015-10-04T23:11:13.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-21T00:15:27.000Z (almost 3 years ago)
- Last Synced: 2025-04-08T18:38:37.308Z (6 months ago)
- Topics: http-proxy, https-proxy, proxy, proxy-configuration, proxy-list, proxy-server, proxy-servers, proxylist, socks, socks5, socks5-proxy
- Language: Python
- Homepage: https://proxylist.rtfd.io
- Size: 51.8 KB
- Stars: 16
- Watchers: 5
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Proxylist Package
[](https://github.com/lorien/proxylist/actions/workflows/test.yml)
[](https://github.com/lorien/proxylist/actions/workflows/test.yml)
[](https://github.com/lorien/proxylist/actions/workflows/mypy.yml)
[](https://coveralls.io/github/lorien/proxylist)
[](https://pypistats.org/packages/proxylist)
[](http://proxylist.readthedocs.org)The proxylist package provides function and classes for:
- loading list of proxy servers from different sources like local file or network location
- rotating proxy servers or picking them randomlyFeel free to give feedback in Telegram groups: [@grablab](https://t.me/grablab) and [@grablab\_ru](https://t.me/grablab_ru).
## Installation
Run: `pip install -U proxylist`
## Documentation
Documentation is available at https://proxylist.readthedocs.io
## Usage Example
```
>>> from proxylist import ProxyList
>>> pl = ProxyList.from_local_file('var/proxy.txt')
>>> pl.get_random_server()>>> pl.get_random_server().address()
'1.1.1.1:8085'
>>> len(pl)
1000
```