About
The main objective of this project is to create an instance of tor expert that can
be used in the same way as the tor browser.
Installation
Most important thing is that you have python 3 installed on your machine.
Deploy virtual environment for your project
Install virtualenv library if you didn't already.pip3.7 install virtualenv
For this project, I'm using Python 3.7 if you have any other python 3 versions
be sure to change the version number on pip.
Then create virtual environment py -3.7 -m virtualenv Envs/myproject
In most cases on WinOS it will be created on path C:\Users\YourUsername\Envs
Activate virtual environment for your project
Activate by simply calling this command C:\Users\YourUsername\Envs\myproject\Scripts\activate.bat from command prompt.
Installing tor_expert library
pip install tor-expert
Usage
Usage example in Pycharm
- open Pycharm and start a new project and name it however you want
- select existing interpreter and then browse to
C:\Users\YourUsername\Envs\myproject\Scripts\python - now in the new project create a new python file
- import tor_expert
from tor_expert import tor, settings - then we need to install tor expert this is only done once or if you want to reinstall it. To do this we need to write the following line
tor.install() - by default tor expert directory will be installed
C:\Users\YourUsername\Documents\Tor - now you are ready to crawl data, check crawler_example.py to see an example of usage (https://github.com/DraganMatesic/tor_expert/tree/master/examples).
Release files for tor-expert 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tor_expert-0.0.3.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tor_expert-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / tor_expert-0.0.3.tar.gz
| Download URL | tor_expert-0.0.3.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f24dbd5f54d73cb209faeaaee9dc68e56d1488e298d63d49e90e7d0429a36042
|
|
BLAKE2b-256 checksum How to use checksums |
c18c628c197f3cb5e34c400fc1663a8b68c223425903901fa951f8921b1a7c67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
|
Release files / tor_expert-0.0.3-py3-none-any.whl
| Download URL | tor_expert-0.0.3-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a0a1e07a0e8eb0cbb7ace3c7f9f94341caad0c967a41ece497f1c198ccfa0c7
|
|
BLAKE2b-256 checksum How to use checksums |
f91b7bbd9f715e820365608fead21a92012aca24672bd991d1c42fc97f2c624a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
|