Skip to main content

Proxy Checker

A checker designed in Python 3 for checking proxy.

Description

This script takes a proxy as string input and tries to get data such as:

  • type (HTTP, SOCKS4, SOCKS5)
  • time response (in seconds)
  • anonymity (Anonymous or Transparent)
  • country
  • city
  • country code

Installation

pip install proxy-checking

Usage

from proxy_checking import ProxyChecker

checker = ProxyChecker()
checker.check_proxy('<ip>:<port>')

if proxy is valid, will be return dictionary

{
  "status": 1,
  "type": ["socks4", "socks5"],
  "time_response": "0.545",
  "anonymity": "Anonymous",
  "country": "Germany",
  "city": "Falkenstein",
  "country_code": "DE"
}

if proxy is not valid

{
  "status": 0
}

License

MIT

Release files for proxy-checking 0.0

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

Source distribution (sdist)

Source distribution for proxy-checking 0.0
File Size Uploaded
proxy_checking-0.0.tar.gz 2.8 kB Details

Release files / proxy_checking-0.0.tar.gz

Download URL proxy_checking-0.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6b2237bdacf1996937837f4aa97223395d2525ee0d6f7dedbc3b7511634d0840
BLAKE2b-256 checksum
How to use checksums
98899899c3e97cd0f452015db989e68cf16475679e705ef528c525324ccae7ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.8

Release history Release notifications | RSS feed

This release

0.0 This release

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