A Python tool for running multiple Tor services on local ports
Project description
Torloc
Torloc runs multiple Tor services on local ports. So you can use many different ip addresses without having to start each service manually.
For Linux and Windows.
Installation
pip install torloc
Or download the tarball / git clone and...
python setup.py install
Or include torloc directory in your project (PySocks required).
Or simply copy the torloc directory to your Python's lib/site-packages directory (PySocks required).
Usage
import torloc
ports_data = torloc.start(6, threads=3)
for port in ports_data:
...
torloc.stop(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 49152, 49153, 49154, 49155, 49156, 491537 ... OK
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 torloc-1.0.0.tar.gz.
File metadata
- Download URL: torloc-1.0.0.tar.gz
- Upload date:
- Size: 10.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5e24d151e7bed920e74b94892299d2e9dfcd68d965f14062dfb64749d8226bc
|
|
| MD5 |
6017cbbeada2a8ccf25b1e80c502afaf
|
|
| BLAKE2b-256 |
2c4f4342a21850d954d76c6ca29abb7fd4917d77477da80650e5e283aea2da7f
|
File details
Details for the file torloc-1.0.0-py3-none-any.whl.
File metadata
- Download URL: torloc-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d0b799652c78784945e2ef00f59e0bd151836252ddb09edf7592bc19e23f811
|
|
| MD5 |
08465f41ece335394a4588abfd590d48
|
|
| BLAKE2b-256 |
05280712a31be318e6dda0799480a23e25a22f2189b7259ad6434f886423b2dd
|