Skip to main content

Dark web HTTP requests using Tor, a stem helper library.

Project description

stemquests

Python Requests and Stem helper for making HTTP requests over Tor.

Purpose

A Tor proxy and the Python requests package are difficult to work with. This package attempts to fix this issue by creating a module (TorInstance) that allows starting new Tor proxy processes using stem, then generating requests Sessions to send requests with.

Usage

Simply import TorInstance, create the object, then call tor.get_session() to get a new requests session!

from stemquests import TorInstance

tor = TorInstance()
session = tor.get_session()

print(session.get('https://check.torproject.org').text)

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

stemquests-1.0.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stemquests-1.0.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file stemquests-1.0.2.tar.gz.

File metadata

  • Download URL: stemquests-1.0.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for stemquests-1.0.2.tar.gz
Algorithm Hash digest
SHA256 84da21bcc7c4cfe9ed187c75853b8438d2aa7a6f56ae9039900c1a7335497d13
MD5 423dca563af670336a5fe6d13638450c
BLAKE2b-256 bdfc0941410dc7e2c96ea2dd11ebfad4d3c88d9b4e1bdb27e1b62346eb35ba86

See more details on using hashes here.

File details

Details for the file stemquests-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: stemquests-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for stemquests-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 893f3be8265065b8b5daecfcd45c67a9c8291568f618c4bb3246070b44305e4e
MD5 22dd8ec305fe6f2689831572ae5a42c8
BLAKE2b-256 823130f682be2a371b6d405db0e0a38bdf6fb3309dcab04bd1f287c0203765da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page