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.

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.2.tar.gz (23.0 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.2-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tor_rq-0.0.2.tar.gz
  • Upload date:
  • Size: 23.0 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.2.tar.gz
Algorithm Hash digest
SHA256 1e0e616aaa13a2a396a9a6fd8c3cbee4f6d8ccaed713aefed234615b85fc9a7c
MD5 2d476b50cc6aee444476a76e3e4b9fe9
BLAKE2b-256 2ce12e6a5ed9caf6fa1f1d33a1a9bbcaac2c747a1c98bbc5c2a0cc741814d3a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tor_rq-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 32.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5c85f0a2f12e71fd3fbe86b14811345a04449a3369c8c0f88eb6b88492a121cd
MD5 14efe9402f9006b66654a1332877422d
BLAKE2b-256 c3bc1ad8d62b0d026aad3b75a9251ea3860a82023243869f43c1fa012820131a

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