tor request is a Python package for making HTTP requests through the Tor network.
Project description
tor_request
Overview
tor_request는 TOR 네트워크를 활용한 HTTP 요청 및 세션 관리를 지원하는 Python 패키지입니다.
웹 크롤링, 스크래핑, 자동화 작업에서 IP 우회 및 안정적인 요청 환경을 제공하기 위해 설계되었습니다.
주요 기능
- TOR 네트워크를 통한 IP 변경 및 요청 라우팅
- HTTP 요청 클라이언트 래핑 및 구성 (
requests기반) - Selenium 기반 브라우저 자동화 지원
- 크롬 드라이버 자동 설치 및 관리
- 다양한 클라이언트 설정 및 확장 가능 구조
설치
pip install tor_request
폴더구조
tor_request/
├── clients/ # HTTP 및 Selenium 클라이언트 모듈
├── interfaces/ # 인터페이스 및 추상 클래스
├── utiles/ # 유틸리티 (크롬드라이버 관리, 로거 등)
├── renew_tor_ip.py # TOR IP 갱신 관련 스크립트
├── tor_controller.py # TOR 제어 관련 모듈
└── __init__.py
Project Structure
└── /
├── LICENSE
├── README.md
├── build.sh
├── build_init.py
├── build_poetry.sh
├── dist
│ ├── tor_rq-0.0.1-py3-none-any.whl
│ └── tor_rq-0.0.1.tar.gz
├── lab
│ └── 01_test.ipynb
├── poetry.lock
├── poetry.toml
├── pyproject.toml
├── ruff.toml
├── tor_request
│ ├── __init__.py
│ ├── __pycache__
│ ├── base
│ ├── clients
│ ├── controller
│ ├── interfaces
│ ├── types
│ └── utiles
└── tor_request.egg-info
├── PKG-INFO
├── SOURCES.txt
├── dependency_links.txt
├── requires.txt
└── top_level.txt
Project Index
/
__root__
⦿ __root__
File Name Summary LICENSE Code>❯ REPLACE-ME pyproject.toml Code>❯ REPLACE-ME build_poetry.sh Code>❯ REPLACE-ME build.sh Code>❯ REPLACE-ME ruff.toml Code>❯ REPLACE-ME poetry.toml Code>❯ REPLACE-ME build_init.py Code>❯ REPLACE-ME
lab
⦿ lab
File Name Summary 01_test.ipynb Code>❯ REPLACE-ME
tor_request.egg-info
⦿ tor_request.egg-info
File Name Summary PKG-INFO Code>❯ REPLACE-ME SOURCES.txt Code>❯ REPLACE-ME requires.txt Code>❯ REPLACE-ME top_level.txt Code>❯ REPLACE-ME dependency_links.txt Code>❯ REPLACE-ME
tor_request
⦿ tor_requestclients
⦿ tor_request.clients
File Name Summary request_client.py Code>❯ REPLACE-ME selenium_client.py Code>❯ REPLACE-ME types
⦿ tor_request.types
File Name Summary selenium_client_scroll_config.py Code>❯ REPLACE-ME selenium_client_config.py Code>❯ REPLACE-ME requests_client_config.py Code>❯ REPLACE-ME utiles
⦿ tor_request.utiles
File Name Summary chrome_driver_manager.py Code>❯ REPLACE-ME format_elapsed_time.py Code>❯ REPLACE-ME get_logger.py Code>❯ REPLACE-ME controller
⦿ tor_request.controller
File Name Summary tor_control.py Code>❯ REPLACE-ME utiles
⦿ tor_request.controller.utiles
File Name Summary renew_tor_ip.py Code>❯ REPLACE-ME base
⦿ tor_request.controller.base
File Name Summary base_tor_controller.py Code>❯ REPLACE-ME interfaces
⦿ tor_request.controller.interfaces
File Name Summary abstract_tor_controller.py Code>❯ REPLACE-ME base
⦿ tor_request.base
File Name Summary base_request_client.py Code>❯ REPLACE-ME interfaces
⦿ tor_request.interfaces
File Name Summary abstract_request_client.py Code>❯ REPLACE-ME
License
This project is licensed under a Custom Non-Commercial License.
- ✔️ Free for non-commercial, personal, and academic use
- ❌ Commercial use is prohibited without prior permission
- 📎 Must credit the original author (devmjun)
See LICENSE for full details.
Copyright (c) 2025 minjun ju (dev.mjun@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to use, copy, and modify the Software solely for non-commercial and educational purposes, subject to the following conditions:
-
Non-commercial Use Only: This Software may not be used, in whole or in part, for commercial advantage or monetary compensation without explicit prior written permission from the author. This includes use in products, services, or any revenue-generating activities.
-
Attribution Required: Any use of the Software must include proper attribution by:
- Clearly stating the original author: minjun ju
- Including a link to the original repository: https://github.com/devmjun/tor-request
- Indicating whether any modifications were made
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
No Endorsement: You may not use the name of the author or contributors to promote derived products or services without prior written consent.
-
Modification: You may modify and adapt the Software for non-commercial use, but any distribution of modified versions must also comply with the above conditions.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tor_rq-0.0.4.tar.gz.
File metadata
- Download URL: tor_rq-0.0.4.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f120f8354e9d2e398f5ec8c75bca22682714411f1a88db889efc10e355b3c7b2
|
|
| MD5 |
f4ec5ea6f2e57b50e0d99ee3cca5bf46
|
|
| BLAKE2b-256 |
ea42f321175e35e79b621168f4aa3a5fbd32764c91d679618bdaf9976e9532bb
|
File details
Details for the file tor_rq-0.0.4-py3-none-any.whl.
File metadata
- Download URL: tor_rq-0.0.4-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8750cca0bb676f89bf1132c2611681154328674b4b2040c5c988053a597fdac0
|
|
| MD5 |
1e2ff58f34f9a05d23f8a51423568a33
|
|
| BLAKE2b-256 |
d4eefa8c64e0407ba2b15191747799710cf16c87bbfb639122daa0d1ea6a218b
|