An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Proxylist Package

[![Test Status](https://github.com/lorien/proxylist/actions/workflows/test.yml/badge.svg)](https://github.com/lorien/proxylist/actions/workflows/test.yml)
[![Code Quality](https://github.com/lorien/proxylist/actions/workflows/check.yml/badge.svg)](https://github.com/lorien/proxylist/actions/workflows/test.yml)
[![Type Check](https://github.com/lorien/proxylist/actions/workflows/mypy.yml/badge.svg)](https://github.com/lorien/proxylist/actions/workflows/mypy.yml)
[![Test Coverage Status](https://coveralls.io/repos/github/lorien/proxylist/badge.svg)](https://coveralls.io/github/lorien/proxylist)
[![Pypi Downloads](https://img.shields.io/pypi/dw/proxylist?label=Downloads)](https://pypistats.org/packages/proxylist)
[![Documentation Status](https://readthedocs.org/projects/proxylist/badge/?version=latest)](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 randomly

Feel 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
```