Skip to main content

py-proxy-checker

This is a simple python script to check if a proxy is working or not and to check the speed of the proxy.

Installation

pip install py-proxy-checker

Usage

from proxychecker import Checker
checker = Checker()

#Check the proxies in the file "proxies.txt"
proxies = checker.check("proxies.txt")
print(proxies)

    {
    ...
    2: {
    'proxy': '77.109.178.218:80',
    'Timeout': 529},
    ...
    }

#Get the information of the proxy
print(checker.info(proxies[2]['proxy']))

    {
        'ip': '210.245.124.131',
        'network': '210.245.112.0/20',
        'version': 'IPv4',
        ...
    }


proxy_list = [proxies[proxy]['proxy'] for proxy in proxies]

#Get the information of each proxy in the list
print(checker.info(proxy_list=proxy_list))

    [
        ...,
        {
        'ip': '210.245.124.131',
        'network': '210.245.112.0/20',
        'version': 'IPv4',
        ...
        },
        ...
    ]
    

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Metadata

Release files for py-proxy-checker 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-proxy-checker 0.2.2
File Size Uploaded
py-proxy-checker-0.2.2.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-proxy-checker 0.2.2
File Interpreter ABI Platform
py_proxy_checker-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / py-proxy-checker-0.2.2.tar.gz

Download URL py-proxy-checker-0.2.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
829eda148526418e80383d1f9912acd7b6da6277c3725ebbf7a502ab4d0eeca5
BLAKE2b-256 checksum
How to use checksums
0ccaf0bfc5b5e173c6af8ba964d5b9e709edbb8496c122d6d0c998f7a750b5d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / py_proxy_checker-0.2.2-py3-none-any.whl

Download URL py_proxy_checker-0.2.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43287d77e7d90ea902a9b8d9714edd1eddeda967cad94d095e9cf3a8b4d09ad8
BLAKE2b-256 checksum
How to use checksums
7a07ada31c2e597e6c708c319db155365645f8b7756b7e75b88ba340139e6927
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page