semvec/pypi-packages huggingface dataset:
tp-requests 2025.10.10
Send the HTTP/ MQTT/ WEBSOCKET Request
License: MIT
Keywords: TPCyberSec, TP_Requests, TP_HTTP_REQUEST, TP_MQTT_REQUEST, TP_WEBSOCKET_REQUEST

<div align="center">
	<h1>TP-Requests - PyPI</h1>
	<i>Send the HTTP/ MQTT/ WEBSOCKET Request</i>
	<br><br>
	<a href="https://github.com/TPCyberSec/TP-Requests/releases/"><img src="https://img.shields.io/github/release/TPCyberSec/TP-Requests" height=30></a>
	<a href="#"><img src="https://img.shields.io/github/downloads/TPCyberSec/TP-Requests/total" height=30></a>
	<a href="#"><img src="https://img.shields.io/github/stars/TPCyberSec/TP-Requests" height=30></a>
	<a href="#"><img src="https://img.shields.io/github/forks/TPCyberSec/TP-Requests" height=30></a>
	<a href="https://github.com/TPCyberSec/TP-Requests/issues?q=is%3Aopen+is%3Aissue"><img src="https://img.shields.io/github/issues/TPCyberSec/TP-Requests" height=30></a>
	<a href="https://github.com/TPCyberSec/TP-Requests/issues?q=is%3Aissue+is%3Aclosed"><img src="https://img.shields.io/github/issues-closed/TPCyberSec/TP-Requests" height=30></a>
	<br>
	<a href="#"><img src="https://img.shields.io/pypi/v/TP-Requests" height=30></a>
	<a href="#"><img src="https://img.shields.io/pypi/pyversions/TP-Requests" height=30></a>
	<a href="#"><img src="https://img.shields.io/pypi/dm/TP-Requests" height=30></a>
</div>

---
# 🛠️ Installation
#### From PyPI:
```console
pip install tp-requests
```
#### From Source:
```console
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

---