Skip to main content

pyfreeproxies

License Python version PyPi Black Python Package flow Downloads wakatime

Free to use http, socks4 and socks5 proxies based on free-proxies.

Installation

pip install -U pyfreeproxies

Usage

  1. FreeProxies

    from pyfreeproxies import FreeProxies
    proxy = FreeProxies()
    proxy.get_http_proxies() # http proxies
    proxy.get_socks4_proxies() # socks4 proxies
    proxy.get_socks5_proxies() # socks 5 proxies
    proxy.get_combined_proxies() # http, socks4, socks5 combined.
    proxy.get_random_proxies() # Select from the lists randomly. proxy.get_confirmed_working_proxies() # list of functional tested proxies
    proxy.get_proxies_metadata({"country": "United States",}) # filter with proxy metadata keys.
    proxy.proxies_update_available # check if there's an update to proxies.
    
  2. IP Metadata

    from pyfreeproxies import FreeProxies
    import pyfreeproxies.utils as proxies_util
    http_proxies = FreeProxies().get_socks4_proxies()
    proxy_metadata = proxies_util.trace_ip(http_proxies[0])
    print(proxy_metadata) # <class 'pyfreeproxies.models.ProxyMetadataModel'>
    """
    status='success' country='Vietnam' countryCode='VN' region='CT' regionName='Can Tho' city='Can Tho' zip='' lat=10.0359 lon=105.7808 timezone='Asia/Ho_Chi_Minh' isp='Viettel Corporation' org='VIETEL' as_='AS7552 Viettel Group' query='171.248.211.25' response_time=None continent=None continentCode=None district=None offset=None currency=None asname=None reverse=None mobile=None proxy=None hosting=None
    """
    

Metadata

Release files for pyfreeproxies 0.2.3

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

Source distribution (sdist)

Source distribution for pyfreeproxies 0.2.3
File Size Uploaded Provenance Actions
pyfreeproxies-0.2.3.tar.gz 21.2 kB Without provenance Details for pyfreeproxies-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyfreeproxies 0.2.3
File Interpreter ABI Platform Actions
pyfreeproxies-0.2.3-py3-none-any.whl Python 3 none any Details for pyfreeproxies-0.2.3-py3-none-any.whl

Total release size: 41.0 kB

Release files / pyfreeproxies-0.2.3.tar.gz

Download URL pyfreeproxies-0.2.3.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ec33a17812f66105a010ee2e75efa2fd9ce674c5615ee93f841a58d67042ed40
BLAKE2b-256 checksum
How to use checksums
fcc53e75e31808acaf195fc37bde7b307ac3ca838243d75d22212fb53a6094bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Release files / pyfreeproxies-0.2.3-py3-none-any.whl

Download URL pyfreeproxies-0.2.3-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd5f6cb6f2c30ceae5fda69f1484c95adb1bae5cee1938676de521c559ef1dac
BLAKE2b-256 checksum
How to use checksums
beb7d2322849352aa92c79181825d317d973656493429b6a6db68ffca1bf1ca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Security for pyfreeproxies 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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