This package provides ability to use amazon aws as proxy with everchanging IP.
Project description
EC2 Proxy
This package provides the ability to use Amazon AWS as a proxy with ever-changing IP.
Free software: Apache Software License 2.0
Documentation: https://ec2-proxy.readthedocs.io.
Install a Proxy Server
Read Setup for instructions on how to install a proxy server on an EC2 instance.
How to Use
- Install the package:
pip install ec2_proxy
Create an AWS account and obtain the access key and secret key from Here.
There are 2 ways to use this package:
Way #1 - Use it with the credentials that are present in your .aws folder in your home directory
from ec2_proxy import TProxy
tp = TProxy(<instance_id_here>)
ip = tp.start()
print(ip)
Way #2 - Use it with the credentials that you will pass at runtime
from ec2_proxy import TProxy
from botocore.config import Config
import boto3
region = 'us-west-2'
access_key_id = 'YOUR_ACCESS_KEY_ID'
secret_access_key = 'YOUR_SECRET_ACCESS_KEY'
ec2 = boto3.client('ec2', region_name=region, aws_access_key_id=access_key_id, aws_secret_access_key=secret_access_key)
tp = TProxy(<instance_id_here>, ec2=ec2)
ip = tp.start()
print(ip)
History
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ec2_proxy-0.1.2.tar.gz.
File metadata
- Download URL: ec2_proxy-0.1.2.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f0982bbb848dc6efc36ff46618613a61514c6b8aa9bf55ab197fbcdeee264be
|
|
| MD5 |
23384ee730659b1ede3f203c445694cb
|
|
| BLAKE2b-256 |
4b021d511da0906796ec2439001f31ff1b7d1bdcca6524bf7f044cc1576dafd7
|
File details
Details for the file ec2_proxy-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: ec2_proxy-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95829317614221a3757c41b1db506676af8a9845d88f5cc09e5293e0f0ed1bbd
|
|
| MD5 |
d811967ddc1cfe82f1044fad33f1ab60
|
|
| BLAKE2b-256 |
cadab51a190e3183a520835b1824ee7e720c38437e2c605c9681da3d71b66b94
|