Skip to main content

A Python tool for running multiple Tor services on local ports

Project description

tor_proxy

tor_proxy runs multiple Tor services on local ports. So you can use many different ip addresses without having to start each service manually.

Installation

pip install tor_proxy

Or download the tarball / git clone and...

python setup.py install

Or include tor_proxy directory in your project.

Or simply copy the tor_proxy directory to your Python's lib/site-packages directory.

Usage

import tor_proxy

ports_data = tor_proxy.create(6, threads=3)
for port in ports_data:
    ...
tor_proxy.stop_all(ports_data)
Output example
STARTING: 49152... 
STARTING: 49153... 
STARTING: 49154... 
READY: 49152 (192.42.116.27)
STARTING: 49155... 
READY: 49153 (185.220.101.48)
STARTING: 49156... 
READY: 49154 (185.220.100.252)
STARTING: 49157... 
READY: 49155 (185.220.101.24)
READY: 49156 (185.220.101.25)
READY: 49157 (185.220.101.46)

Stooping all... OK

Project details


Download files

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

Files for tor-proxy, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size tor_proxy-1.1.tar.gz (4.4 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page