Rotate tor ip using easely with pytor
Project description
proxiestor (tor proxies automate 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").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-1.1.tar.gz
(66.1 kB
view details)
Built Distribution
proxiestor-1.1-py3-none-any.whl
(67.9 kB
view details)
File details
Details for the file proxiestor-1.1.tar.gz
.
File metadata
- Download URL: proxiestor-1.1.tar.gz
- Upload date:
- Size: 66.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b8e969edb3464f3cb25b232a6f0f8122009bc23d5d2b762e9d947335e04357 |
|
MD5 | fd1932dce96bae7f72b9755b408f33f2 |
|
BLAKE2b-256 | 1ed0039a7e8e463f7c593298a25e7618665e7f5851144dfcc0f944357b9e7e43 |
File details
Details for the file proxiestor-1.1-py3-none-any.whl
.
File metadata
- Download URL: proxiestor-1.1-py3-none-any.whl
- Upload date:
- Size: 67.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21365196d77370fe6483dd54c087a990649583caa657bf66612b8f53cc9e935c |
|
MD5 | 882e1b303a215fd046ffca76b954f080 |
|
BLAKE2b-256 | 49f31206b5d5a6e2fa8dd2068054c9cfc8dbad1ca0d7c2892ffb89828126373c |