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)
Metadata
Release files for stemquests 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stemquests-1.1.1.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stemquests-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / stemquests-1.1.1.tar.gz
| Download URL | stemquests-1.1.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01c3a7ca9cc62984f384ef26fb1ceabcb338601ba0b41818f2869c8833c508f9
|
|
BLAKE2b-256 checksum How to use checksums |
10a61db204eba8af376cb47905a062d808373ab2908eeadbaa16dfc1c5f3704c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / stemquests-1.1.1-py3-none-any.whl
| Download URL | stemquests-1.1.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92d2993fcff1eb81594e44ea56c7016e897d807c508226792248d018493349c6
|
|
BLAKE2b-256 checksum How to use checksums |
ff15a952f1b5c52284ddb3d4c4e215029969123cb5d39c56c7e5ce19f312ab88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|