QuickConn
QuickConn هي مكتبة بايثون موحدة لدعم جميع أنواع الـ HTTP: HTTP/1.0، HTTP/1.1، HTTP/2، HTTP/3، مع دعم تجاوز حماية Cloudflare.
📦 التثبيت
يمكنك تثبيت المكتبة مباشرة من PyPI (بعد رفعها) أو من ملف setup.py محليًا:
التثبيت من PyPI
pip install QuickConn
التثبيت محليًا من المشروع
git clone https://github.com/Gisnsl/QuickConn.git
cd QuickConn
pip install .
⚡ الاستخدام
استيراد المكتبة
from QuickConn import Http1Client, Http2Client, Http3Client, Http10Client, CloudFlareSolver
🔹 HTTP/1.0 Client
response = Http10Client.get("http://httpbin.org/get", headers={"User-Agent": "MyClient"})
print(response.status_code)
print(response.text)
print(response.json())
print(response.headers)
print(response.cookies)
🔹 HTTP/1.1 Client
response = Http1Client.get(
"https://httpbin.org/get",
headers={"User-Agent": "MyClient"},
params={"test": "123"},
proxy={"http": "http://user:pass@host:port"},
data=None,
json={"key": "value"},
file="path/to/file.txt"
)
print(response.status_code)
print(response.text)
🔹 HTTP/2 Client
response = Http2Client.get(
"https://httpbin.org/get",
headers={"User-Agent": "MyClient"},
params={"foo": "bar"},
proxy={"http": "http://user:pass@host:port"},
data=None,
json={"hello": "world"},
file="path/to/file.txt"
)
print(response.status_code)
print(response.text)
print(response.json())
print(response.headers)
🔹 HTTP/3 Client
ملاحظة: HTTP/3 يعمل بشكل غير متزامن داخليًا، لكن يمكن استخدامه مباشرة بدون إنشاء كائن:
response = Http3Client.get(
"https://httpbin.org/get",
headers={"User-Agent": "MyClient"},
params={"foo": "bar"},
data=None,
json={"key": "value"},
files="path/to/file.txt"
)
print(response.status_code)
print(response.text)
print(response.headers)
🔹 Cloudflare Solver
response = CloudFlareSolver.get(
"https://example-protected-site.com",
headers={"User-Agent": "MyClient"}
)
print(response.status_code)
print(response.text)
⚙️ خيارات شائعة
- headers: إرسال رؤوس HTTP إضافية
- params: إرسال Query Parameters
- data: إرسال بيانات POST/PUT
- json: إرسال بيانات JSON
- file / files: رفع ملفات
- proxy: دعم البروكسي بصيغة
{"http": "http://user:pass@host:port"} - verify: تعطيل التحقق من SSL (HTTP/1.0 و HTTP/1.1)
📄 الترخيص
MIT License – يمكن استخدام المكتبة وتعديلها بحرية.
Metadata
Release files for quickconn 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quickconn-0.2.0.tar.gz | 6.5 kB | Without provenance | Details for quickconn-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quickconn-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for quickconn-0.2.0-py3-none-any.whl |
Total release size: 13.0 kB
Release files / quickconn-0.2.0.tar.gz
| Download URL | quickconn-0.2.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2469737c88b3b3561875b4939afedf21da6bb0c961b79b1f6c6cfc0db2ec751a
|
|
BLAKE2b-256 checksum How to use checksums |
be911cf2b06cac78464ee0cb8af6705f39d2988a2fb3041d84ef1ed467bf5d1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / quickconn-0.2.0-py3-none-any.whl
| Download URL | quickconn-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25d27ad758f2bb8e47123254a8ad456a61fd8a06c6d0859906c05c689e62123d
|
|
BLAKE2b-256 checksum How to use checksums |
8ed994586041d34883d2f7b438157caa77f0355a8d310a081acce0eb01a884bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for quickconn 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.