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.1.1.tar.gz (6.8 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.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stemquests-1.1.1.tar.gz
Algorithm Hash digest
SHA256 01c3a7ca9cc62984f384ef26fb1ceabcb338601ba0b41818f2869c8833c508f9
MD5 7423ff4134ac9bffaccc3aa190744e0f
BLAKE2b-256 10a61db204eba8af376cb47905a062d808373ab2908eeadbaa16dfc1c5f3704c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stemquests-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92d2993fcff1eb81594e44ea56c7016e897d807c508226792248d018493349c6
MD5 d48d10f75652c65515dae29dba909e20
BLAKE2b-256 ff15a952f1b5c52284ddb3d4c4e215029969123cb5d39c56c7e5ce19f312ab88

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