Skip to main content

TP-Requests - PyPI

Send the HTTP/ MQTT/ WEBSOCKET Request



🛠️ Installation

From PyPI:

pip install TP-Requests

From Source:

git clone https://github.com/TPCyberSec/TP-Requests.git --branch <Branch/Tag>
cd TP-Requests
python -m build
python -m pip install dist/tp_requests-<version>-py3-none-any.whl

📘 Basic Usage

from TP_Requests.http import TP_HTTP_REQUEST

rawRequest = """GET /v1/promo/extension HTTP/2
Host: d2y7f743exec8w.cloudfront.net
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en-US;q=0.9,en;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.97 Safari/537.36
Connection: close
Cache-Control: max-age=0

"""

httpRequest = TP_HTTP_REQUEST(rawRequest)

httpRequest.RequestParser.request_method = "POST"

sendRequest_result = httpRequest.sendRequest(Host="d2y7f743exec8w.cloudfront.net", Port=443, Scheme="https", proxy_server={"type":"http","host":"127.0.0.1","port":8080})

print(sendRequest_result)

👥 Contributors


📝 CHANGELOG


Metadata

Release files for tp-requests 2026.5.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tp-requests 2026.5.18
File Size Uploaded
tp_requests-2026.5.18.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tp-requests 2026.5.18
File Interpreter ABI Platform
tp_requests-2026.5.18-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / tp_requests-2026.5.18.tar.gz

Download URL tp_requests-2026.5.18.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c9efaa52f86e3d3654f9af2ba322c9226ef73d44fbab93c081fba975a095ed05
BLAKE2b-256 checksum
How to use checksums
6aa241f78380f0e7eb982feb0b8c132883742829c6afe07bf872d58f1746e6d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.0

Release files / tp_requests-2026.5.18-py3-none-any.whl

Download URL tp_requests-2026.5.18-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9fe7a0fda0d26278bd089880c1ecc1907c5384c9b2a4e714c1eb6254b67527b
BLAKE2b-256 checksum
How to use checksums
f9587d891825333cc84870be38415a1953d55f9ebcf1a45bdf1fdff0f608fb02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page