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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tor_rq-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ab752699a08e6e57590d373fbd86bbebdf41a5a391c21c63058744abe142193e
MD5 47e62bcffd9cde34c852290a2ff4b49d
BLAKE2b-256 bb6b5d267faaccb6f69c3cf4a805aba18da1741727d2c1fba6803bfdaebe0390

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tor_rq-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bf8180f5e19e351c1e4ee252a5b2c4045aa42bbe0160730e5de746878dcc1961
MD5 7ae8201bd65562f9f456559aef7a84e0
BLAKE2b-256 7fc814ccc1e9746dbb12a93d16463d99786f1ef9ffe61fce777425aca6282e0b

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