random_proxies
Python package to generate a random proxy on the fly!
Features
- Supports
HTTP,HTTPSorSOCKSproxy.
Currently support SOCKS over HTTP only with version 4.
- Fetch specific country proxy by using country name or country code.
- Fetch elite / transparent / anonymous proxies respectively.
- Fetch directly from free-proxy-list.
- For better response time, fetch from an elasticsearch
cache_server. cache_serveris updated via routines described here
Example usage
$ git clone https://github.com/2knal/random_proxies.git`
$ cd random_proxies/
$ pip install -r requirements.txt
Open python interpreter. (Supports version 3.7+)
>>> from random_proxies import random_proxy
>>> random_proxy()
'23.101.2.247:81'
Refer more examples here
TODO
- Port to MongoDB
- Publish package version 0.0.1
- Return meta data, response structure found here
- Scrape proxies from other sources
- Add support for SOCKS version 5
- Implement REST API to allow other languages to interface with it
- Setup documentation page
- Add unit tests
Contributing
- We are open to
enhancements&bug-fixes😊. Take a look here to get started - Feel free to add issues and submit patches
Author
Kunal Sonawane - 2knal
License
This project is licensed under the MIT - see the LICENSE file for details.
Metadata
Release files for random-proxies 0.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 |
|---|---|---|---|---|
| random_proxies-0.0.2.tar.gz | 8.0 kB | Without provenance | Details for random_proxies-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| random_proxies-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for random_proxies-0.0.2-py3-none-any.whl |
Total release size: 20.6 kB
Release files / random_proxies-0.0.2.tar.gz
| Download URL | random_proxies-0.0.2.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b23da694d7e75e3ec9be5353ab768857990c46f3cfbb59aa03890f2a59e7a52f
|
|
BLAKE2b-256 checksum How to use checksums |
bc2b8e76b56240fb228d8017f78880d5179defeb0942cc1e2c50910c6ca92c64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / random_proxies-0.0.2-py3-none-any.whl
| Download URL | random_proxies-0.0.2-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
092b055f9147bb5b540db77a988dd6b6b33f67bc1d249e6d1198e11294d8e56f
|
|
BLAKE2b-256 checksum How to use checksums |
4b533683b440152857dc1815fcce9c0b12a3beccbd4284cdba24bf0c38257f23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for random-proxies 0.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.