Package Description
GetProx is a library for retrieving lists of free HTTP proxies from various online sites.
Installation
The package may be installed as follows:
pip install getprox
Usage Examples
To retrieve proxies from all available sources, invoke the package as follows:
import getprox proxy_uri_list = getprox.proxy_get()
Proxies are returned in http://host:port format. By default, the proxies will be tested using a simple timeout test to determine whether they are alive. A list of supported proxy sources can be obtained via
proxy_src_list = getprox.sources()
Proxies may also be obtained from a specific source or sources. For example:
proxy_uri_list = getprox.proxy_get('letushide')
Internally, proxy retrieval and testing is performed asynchronously; one can also access the asynchronous mechanism as follows:
p = getprox.ProxyGet() # .. wait for a while .. proxy_src_list = p.get()
Instantiation of the ProxyGet class will launch threads that perform retrieval and testing. If the threads finish running, the get() method will return the retrieved proxy URIs; if not, the method will return an empty list.
Development
The latest release of the package may be obtained from GitHub.
To Do
Add support for more proxy sources.
Expose proxy selection options for specific sources.
Provide more robust proxy checking algorithm.
License
This software is licensed under the BSD License.
Metadata
Release files for getprox 0.1.1
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 |
|---|---|---|---|---|
| getprox-0.1.1.tar.gz | 10.1 kB | Without provenance | Details for getprox-0.1.1.tar.gz |
Release files / getprox-0.1.1.tar.gz
| Download URL | getprox-0.1.1.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1dd2b490741f8ae97e14439ee117efe20bc745f2d35c90e1aec3d8fa7b33a15
|
|
BLAKE2b-256 checksum How to use checksums |
f58a91dcb7ce65957a032deef5afabc3aaa9c633bf49b3de635ef508e148957e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for getprox 0.1.1
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.