Skip to main content

Automate Tor Ip Rotation

Project description

proxiestor (Automatic Tor IP Rotation)

Author: Sptty Chan (Fanda)
Github & Examples: proxiestor

About Proxiestor

Proxiestor is a Python library designed to automate Tor. With Proxiestor, you can easily run Tor without the need to open a new terminal window. Just call the function from Proxiestor, and Tor will be up and running. You can even rotate the IP by adding arguments when calling the Proxiestor library function. Please take a look at the example below.

example

#import library
from proxiestor import Tor
import requests

#Class initiation
#Tor without IP rotation
tor = Tor(ip_rotation=False) #Change "False" to "True" if you want to enable IP rotation

#Start tor
tor.start()

#Your program should be executed after calling the "start" function and concluded by calling the "close" function
r=requests.get("https://httpbin.org/ip", proxies={"http": "socks5://127.0.0.1:9050","https": "socks5://127.0.0.1:9050"}).json()["origin"]
print(f"your IP: {r}")
#You can create a loop here

#Close/stop tor
tor.close()

Check our GitHub for more examples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proxiestor-2.0.tar.gz (65.4 kB view details)

Uploaded Source

Built Distribution

proxiestor-2.0-py3-none-any.whl (67.2 kB view details)

Uploaded Python 3

File details

Details for the file proxiestor-2.0.tar.gz.

File metadata

  • Download URL: proxiestor-2.0.tar.gz
  • Upload date:
  • Size: 65.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for proxiestor-2.0.tar.gz
Algorithm Hash digest
SHA256 5ac831bbb5785b6482858071a4dd0211776f20be1f6f05f84d8dd1b3c6696a7c
MD5 729e5c4f90ded0d955adf037f797ea59
BLAKE2b-256 896e882f5c83150710b9801b3468e47c87f20c60aa9f4a189bd22d4a2519f7b7

See more details on using hashes here.

File details

Details for the file proxiestor-2.0-py3-none-any.whl.

File metadata

  • Download URL: proxiestor-2.0-py3-none-any.whl
  • Upload date:
  • Size: 67.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for proxiestor-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78fc6e1cd1ee41ed145d856344cbc84e6372b581967bbb7a5de598c0963b95ed
MD5 011be86f7deee25c6df56ba319443582
BLAKE2b-256 d85d82e86493948419ffa1929d485c7e4b599d262cd1f5dca739cb82399fc05e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page