Skip to main content

EC2 Proxy

https://img.shields.io/pypi/v/ec2_proxy.svg https://img.shields.io/travis/AG4lyf/ec2_proxy.svg Documentation Status

This package provides the ability to use Amazon AWS as a proxy with ever-changing IP.

Install a Proxy Server

Read Setup for instructions on how to install a proxy server on an EC2 instance.

How to Use

  1. Install the package:

    pip install ec2_proxy

  2. 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

Metadata

Release files for ec2-proxy 0.1.2

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

Source distribution (sdist)

Source distribution for ec2-proxy 0.1.2
File Size Uploaded Provenance Actions
ec2_proxy-0.1.2.tar.gz 11.0 kB Without provenance Details for ec2_proxy-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ec2-proxy 0.1.2
File Interpreter ABI Platform Actions
ec2_proxy-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for ec2_proxy-0.1.2-py2.py3-none-any.whl

Total release size: 15.3 kB

Release files / ec2_proxy-0.1.2.tar.gz

Download URL ec2_proxy-0.1.2.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2f0982bbb848dc6efc36ff46618613a61514c6b8aa9bf55ab197fbcdeee264be
BLAKE2b-256 checksum
How to use checksums
4b021d511da0906796ec2439001f31ff1b7d1bdcca6524bf7f044cc1576dafd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Release files / ec2_proxy-0.1.2-py2.py3-none-any.whl

Download URL ec2_proxy-0.1.2-py2.py3-none-any.whl
Size 4.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
95829317614221a3757c41b1db506676af8a9845d88f5cc09e5293e0f0ed1bbd
BLAKE2b-256 checksum
How to use checksums
cadab51a190e3183a520835b1824ee7e720c38437e2c605c9681da3d71b66b94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Security for ec2-proxy 0.1.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.

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