PYPROXIES
Please subscribe to my Github @venaxyt if you want more modules like this.
Pyproxies only returns proxy, it does not print them like on screenshot.
Send a request with http proxy
http_proxy = pyproxies.proxy("http")
proxy_ip = requests.get("https://api.ipify.org", proxies=http_proxy)
print(f" [IP] : {http_proxy}")
Send a request with socks4 proxy
socks4_proxy = pyproxies.proxy("socks4")
proxy_ip = requests.get("https://api.ipify.org", proxies=socks4_proxy)
print(f" [IP] : {socks4_proxy}")
Send a request with socks5 proxy
socks5_proxy = pyproxies.proxy("socks5")
proxy_ip = requests.get("https://api.ipify.org", proxies=socks5_proxy)
print(f" [IP] : {socks5_proxy}")
Informations:
Pyproxies check every proxy it returns, by sending a request to "api.ipify.org", a website which returns requester ip adress. Pyproxies only returns valid proxies whose timeout is less than 10 seconds, you can edit the timeout in the module code. All proxies comes from proxyscrape.com, you can edit the proxies source in the module code too. Thanks for using my modules, @venaxyt.
Metadata
Release files for pyproxies 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyproxies-0.2.tar.gz | 2.4 kB | Without provenance | Details for pyproxies-0.2.tar.gz |
Release files / pyproxies-0.2.tar.gz
| Download URL | pyproxies-0.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9cf94659a20f29b6c3c6b896754d85723a05e78e7ab69fb16a14a162292edd26
|
|
BLAKE2b-256 checksum How to use checksums |
a4451d312071d662fef5e4552f915a310c465401f0adfc011f987d5bb9651fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.7
|
Security for pyproxies 0.2
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.