Skip to main content

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_request
clients
⦿ 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:

  1. 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.

  2. Attribution Required: Any use of the Software must include proper attribution by:

  3. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

  4. No Endorsement: You may not use the name of the author or contributors to promote derived products or services without prior written consent.

  5. 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

tor_rq-0.0.5.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

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

tor_rq-0.0.5-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file tor_rq-0.0.5.tar.gz.

File metadata

  • Download URL: tor_rq-0.0.5.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

Hashes for tor_rq-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7b4415c53f6a41a1c8b68ccf26cd38b707d38af2d750ea755e816b5136a78df0
MD5 e2e3c9575637a19cf8b0eb03fa7714f9
BLAKE2b-256 ea9c2d53af057a6a9e5a15506641c5dc29ef2c21c8383c0aff9da2af448cb549

See more details on using hashes here.

File details

Details for the file tor_rq-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: tor_rq-0.0.5-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

Hashes for tor_rq-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 156c0f6c22310b8b0156b03aab7f20a8cf8808ee43c4408e2fb190184851689d
MD5 0fe69d7d4c9a887dae517bce93182056
BLAKE2b-256 787d29b424846dc761de80f474443cd9cf7cc4657a3297beb4a49eaf352af401

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