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_poetry.sh
├── dist
│ ├── tor_request-0.0.1-py3-none-any.whl
│ └── tor_request-0.0.1.tar.gz
├── lab
│ └── 01_test.ipynb
├── poetry.lock
├── poetry.toml
├── pyproject.toml
├── ruff.toml
├── tor_request
│ ├── __init__.py
│ ├── __pycache__
│ ├── clients
│ ├── interfaces
│ ├── renew_tor_ip.py
│ ├── tor_controller.py
│ └── 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 ruff.toml Code>❯ REPLACE-ME poetry.toml 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
File Name Summary renew_tor_ip.py Code>❯ REPLACE-ME tor_controller.py Code>❯ REPLACE-ME clients
⦿ tor_request.clients
File Name Summary request_client.py Code>❯ REPLACE-ME selenium_client_scroll_config.py Code>❯ REPLACE-ME selenium_client_config.py Code>❯ REPLACE-ME selenium_client.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 interfaces
⦿ tor_request.interfaces
File Name Summary base_request_client.py Code>❯ REPLACE-ME
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.1.tar.gz
(21.2 kB
view details)
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
tor_rq-0.0.1-py3-none-any.whl
(31.1 kB
view details)
File details
Details for the file tor_rq-0.0.1.tar.gz.
File metadata
- Download URL: tor_rq-0.0.1.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87f5ff6ced307d809e6951d163673e4b4c0be4ffe30bc3ac55d58c4be9bf26cd
|
|
| MD5 |
ce84cb5aba0ccfd349d5bcf2e5215925
|
|
| BLAKE2b-256 |
508aa49f792b5ef31f99f3b9ee2c4eaee75e887206817b3625a96f044e8fb105
|
File details
Details for the file tor_rq-0.0.1-py3-none-any.whl.
File metadata
- Download URL: tor_rq-0.0.1-py3-none-any.whl
- Upload date:
- Size: 31.1 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 |
e020bfeeb744d9f67c0c376a32dee4697bc4b9484a3ebf269a94d8d1a5fc5649
|
|
| MD5 |
e3fdd2002152ebf34207604b5bc91963
|
|
| BLAKE2b-256 |
766d5a8c0830c05c679ed138a6636aaa6d8ab14d90b90452eec7325a76ea1f31
|