Skip to main content

Using tor expert as service

Project description

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).

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

tor_expert-0.0.3.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

tor_expert-0.0.3-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

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