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.0.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.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stemquests-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 8d4285f1a59e1723866ce22e293cd3f9b846c117914174de6ee74f1606f2b291
MD5 874ac9c3bfdc399800aeb4ec51aa227f
BLAKE2b-256 323417f8d6334f410ec775d33881032968c55ee8e439acde72cee619e3d6e53b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stemquests-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 065661003a57a8318c235fea5373fbabdfd2bda12b3e228124d35c29973d5be6
MD5 4fb000b70515ac8597e3238f59768ba2
BLAKE2b-256 eca7bc53d64170cb58f4a20a9d3e650bf3b3b587812648b9f22618f371a9753e

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