rnet 3.0.0rc6__cp311-abi3-macosx_11_0_arm64.whl → 3.0.0rc8__cp311-abi3-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rnet might be problematic. Click here for more details.
- rnet/__init__.py +4 -0
- rnet/__init__.pyi +262 -97
- rnet/emulation.py +8 -2
- rnet/http1.py +67 -0
- rnet/http2.py +352 -0
- rnet/rnet.abi3.so +0 -0
- rnet/tls.py +271 -3
- {rnet-3.0.0rc6.dist-info → rnet-3.0.0rc8.dist-info}/METADATA +22 -6
- rnet-3.0.0rc8.dist-info/RECORD +16 -0
- rnet-3.0.0rc6.dist-info/RECORD +0 -14
- {rnet-3.0.0rc6.dist-info → rnet-3.0.0rc8.dist-info}/WHEEL +0 -0
- {rnet-3.0.0rc6.dist-info → rnet-3.0.0rc8.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rnet
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0rc8
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -59,7 +59,7 @@ A blazing-fast Python HTTP client with advanced browser fingerprinting that accu
|
|
|
59
59
|
The following example uses the `asyncio` runtime with `rnet` installed via pip:
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
|
-
pip install asyncio rnet==3.0.
|
|
62
|
+
pip install asyncio rnet==3.0.0rc8
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
And then the code:
|
|
@@ -71,7 +71,7 @@ from rnet import Client, Emulation
|
|
|
71
71
|
|
|
72
72
|
async def main():
|
|
73
73
|
# Build a client
|
|
74
|
-
client = Client(emulation=Emulation.
|
|
74
|
+
client = Client(emulation=Emulation.Firefox143)
|
|
75
75
|
|
|
76
76
|
# Use the API you're already familiar with
|
|
77
77
|
resp = await client.get("https://tls.peet.ws/api/all")
|
|
@@ -109,9 +109,9 @@ Additional learning resources include:
|
|
|
109
109
|
|
|
110
110
|
| **Browser** | **Versions** |
|
|
111
111
|
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
112
|
-
| **Chrome** | `Chrome100`, `Chrome101`, `Chrome104`, `Chrome105`, `Chrome106`, `Chrome107`, `Chrome108`, `Chrome109`, `Chrome110`, `Chrome114`, `Chrome116`, `Chrome117`, `Chrome118`, `Chrome119`, `Chrome120`, `Chrome123`, `Chrome124`, `Chrome126`, `Chrome127`, `Chrome128`, `Chrome129`, `Chrome130`, `Chrome131`, `Chrome132`, `Chrome133`, `Chrome134`, `Chrome135`, `Chrome136`, `Chrome137` |
|
|
113
|
-
| **Safari** | `SafariIos17_2`, `SafariIos17_4_1`, `SafariIos16_5`, `Safari15_3`, `Safari15_5`, `Safari15_6_1`, `Safari16`, `Safari16_5`, `Safari17_0`, `Safari17_2_1`, `Safari17_4_1`, `Safari17_5`, `Safari18`, `SafariIPad18`, `Safari18_2`, `SafariIos18_1_1`, `Safari18_3`, `Safari18_3_1`, `Safari18_5` |
|
|
114
|
-
| **Firefox** | `Firefox109`, `Firefox117`, `Firefox128`, `Firefox133`, `Firefox135`, `FirefoxPrivate135`, `FirefoxAndroid135`, `Firefox136`, `FirefoxPrivate136`, `Firefox139` |
|
|
112
|
+
| **Chrome** | `Chrome100`, `Chrome101`, `Chrome104`, `Chrome105`, `Chrome106`, `Chrome107`, `Chrome108`, `Chrome109`, `Chrome110`, `Chrome114`, `Chrome116`, `Chrome117`, `Chrome118`, `Chrome119`, `Chrome120`, `Chrome123`, `Chrome124`, `Chrome126`, `Chrome127`, `Chrome128`, `Chrome129`, `Chrome130`, `Chrome131`, `Chrome132`, `Chrome133`, `Chrome134`, `Chrome135`, `Chrome136`, `Chrome137`, `Chrome138`, `Chrome139`, `Chrome140` |
|
|
113
|
+
| **Safari** | `SafariIos17_2`, `SafariIos17_4_1`, `SafariIos16_5`, `Safari15_3`, `Safari15_5`, `Safari15_6_1`, `Safari16`, `Safari16_5`, `Safari17_0`, `Safari17_2_1`, `Safari17_4_1`, `Safari17_5`, `Safari18`, `SafariIPad18`, `Safari18_2`, `SafariIos18_1_1`, `Safari18_3`, `Safari18_3_1`, `Safari18_5`, `Safari26`, `SafariIos26`, `SafariIPad26` |
|
|
114
|
+
| **Firefox** | `Firefox109`, `Firefox117`, `Firefox128`, `Firefox133`, `Firefox135`, `FirefoxPrivate135`, `FirefoxAndroid135`, `Firefox136`, `FirefoxPrivate136`, `Firefox139`, `Firefox142`, `Firefox143` |
|
|
115
115
|
| **OkHttp** | `OkHttp3_9`, `OkHttp3_11`, `OkHttp3_13`, `OkHttp3_14`, `OkHttp4_9`, `OkHttp4_10`, `OkHttp4_12`, `OkHttp5` |
|
|
116
116
|
| **Edge** | `Edge101`, `Edge122`, `Edge127`, `Edge131`, `Edge134` |
|
|
117
117
|
| **Opera** | `Opera116`, `Opera117`, `Opera118`, `Opera119` |
|
|
@@ -167,6 +167,10 @@ bash .github/musl_build.sh armv7-unknown-linux-musleabihf
|
|
|
167
167
|
|
|
168
168
|
For Manylinux compilation, refer to [manylinux](https://github.com/PyO3/maturin?tab=readme-ov-file#manylinux-and-auditwheel).
|
|
169
169
|
|
|
170
|
+
## Services
|
|
171
|
+
|
|
172
|
+
Help sustain the ongoing development of this open-source project by reaching out for [commercial support](mailto:gngppz@gmail.com). Receive private guidance, expert reviews, or direct access to the maintainer, with personalized technical assistance tailored to your needs.
|
|
173
|
+
|
|
170
174
|
## Benchmark
|
|
171
175
|
|
|
172
176
|
Outperforms `requests`, `httpx`, `Python-TLS-Client`, and `curl_cffi`. See the [benchmark](https://github.com/0x676e67/rnet/tree/main/python/benchmark) for details. Benchmark data is for reference only—actual performance may vary based on your environment and use case.
|
|
@@ -181,6 +185,18 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
|
|
|
181
185
|
|
|
182
186
|
## Sponsors
|
|
183
187
|
|
|
188
|
+
<a href="https://hypersolutions.co/?utm_source=github&utm_medium=readme&utm_campaign=rnet" target="_blank"><img src="https://raw.githubusercontent.com/0x676e67/rnet/main/.github/assets/hypersolutions.jpg" height="47" width="149"></a>
|
|
189
|
+
|
|
190
|
+
TLS fingerprinting alone isn't enough for modern bot protection. **[Hyper Solutions](https://hypersolutions.co?utm_source=github&utm_medium=readme&utm_campaign=rnet)** provides the missing piece - API endpoints that generate valid antibot tokens for:
|
|
191
|
+
|
|
192
|
+
**Akamai** • **DataDome** • **Kasada** • **Incapsula**
|
|
193
|
+
|
|
194
|
+
No browser automation. Just simple API calls that return the exact cookies and headers these systems require.
|
|
195
|
+
|
|
196
|
+
🚀 **[Get Your API Key](https://hypersolutions.co?utm_source=github&utm_medium=readme&utm_campaign=rnet)** | 📖 **[Docs](https://docs.justhyped.dev)** | 💬 **[Discord](https://discord.gg/akamai)**
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
184
200
|
<a href="https://dashboard.capsolver.com/passport/register?inviteCode=y7CtB_a-3X6d" target="_blank"><img src="https://raw.githubusercontent.com/0x676e67/rnet/main/.github/assets/capsolver.jpg" height="47" width="149"></a>
|
|
185
201
|
|
|
186
202
|
[CapSolver](https://www.capsolver.com/?utm_source=github&utm_medium=banner_repo&utm_campaign=rnet) leverages AI-powered Auto Web Unblock to bypass Captchas effortlessly, providing fast, reliable, and cost-effective data access with seamless integration into Colly, Puppeteer, and Playwright—use code **`RNET`** for a 6% bonus!
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
rnet-3.0.0rc8.dist-info/METADATA,sha256=ROzInXlmvSXwU5TyeKA_Hpvx0SNfmV887W4Cc2ul2n4,11414
|
|
2
|
+
rnet-3.0.0rc8.dist-info/WHEEL,sha256=cVaoL47Ex1FxzwnkO_WCjy3a1Wl6mtZbBPTvTiNCHdY,103
|
|
3
|
+
rnet-3.0.0rc8.dist-info/licenses/LICENSE,sha256=ld2UNRYADDwfLyJ9Q34VP3bWRfS53mvK1tixHd57kN0,11357
|
|
4
|
+
rnet/__init__.py,sha256=IqBAlAtFivJ1usxz9uVBXN1ozDd8O-o4oLEcJHNILmM,385
|
|
5
|
+
rnet/__init__.pyi,sha256=3Mov6pgqf7kqn7m739vzgVGXrWPBLhe0VF5H9Swodlw,33420
|
|
6
|
+
rnet/blocking.py,sha256=W2tTSUH1y8MVNKnFY1Zdran36hMT8Qj9rosWVyGIgBE,8747
|
|
7
|
+
rnet/cookie.py,sha256=4UYJY9jlXqe8vObXLSqzk1dFoKRO5mCnsgC0TCC4N1Y,3023
|
|
8
|
+
rnet/emulation.py,sha256=gcpJetO35t5-EmzJA6-QUuERV9beo7G2E0ybgmtQXxY,5224
|
|
9
|
+
rnet/exceptions.py,sha256=Rpwo1GVE2eJhFVAGJWAlsY4XypZ-i0j9Th-pnm7l_yY,5951
|
|
10
|
+
rnet/header.py,sha256=K_bp5F_4D21UjMaBp7aM-aGVYI162IsX-vn2fjExEF4,9749
|
|
11
|
+
rnet/http1.py,sha256=CHxz8Ns3Pr_VFl9iQdi9PlnF3IgmNiv2biolSZVl9fU,1497
|
|
12
|
+
rnet/http2.py,sha256=C3ClzUdi99KVKGFezavi77AFvotWyDBzMEj2XeQDyUI,9127
|
|
13
|
+
rnet/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
+
rnet/rnet.abi3.so,sha256=59Uhdk-w69wSIrpZQMQ5_gP_fxxjh4KbvG6ElFo6iDc,7508704
|
|
15
|
+
rnet/tls.py,sha256=LioQPDAPHbWJQOvMdm2tfpAxmFUVP4Qe73_kUoIgmlI,11565
|
|
16
|
+
rnet-3.0.0rc8.dist-info/RECORD,,
|
rnet-3.0.0rc6.dist-info/RECORD
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
rnet-3.0.0rc6.dist-info/METADATA,sha256=GLq934lBuJCkfF696Axso1pB1X_NA93pQF7OF7qGoPk,10147
|
|
2
|
-
rnet-3.0.0rc6.dist-info/WHEEL,sha256=cVaoL47Ex1FxzwnkO_WCjy3a1Wl6mtZbBPTvTiNCHdY,103
|
|
3
|
-
rnet-3.0.0rc6.dist-info/licenses/LICENSE,sha256=ld2UNRYADDwfLyJ9Q34VP3bWRfS53mvK1tixHd57kN0,11357
|
|
4
|
-
rnet/__init__.py,sha256=JXdQrPFE8MPaCRR4cHJ8Ev0l_zC-Qr0nfcQLSmIsErY,303
|
|
5
|
-
rnet/__init__.pyi,sha256=7hPvON_Ksfskd0soZhQklR5vnZX3MEwJSjlQby7TDec,32557
|
|
6
|
-
rnet/blocking.py,sha256=W2tTSUH1y8MVNKnFY1Zdran36hMT8Qj9rosWVyGIgBE,8747
|
|
7
|
-
rnet/cookie.py,sha256=4UYJY9jlXqe8vObXLSqzk1dFoKRO5mCnsgC0TCC4N1Y,3023
|
|
8
|
-
rnet/emulation.py,sha256=JWLvOAtvFa_xkozDinU83BFYW7G8KuEyGVDiaqjqVmQ,5064
|
|
9
|
-
rnet/exceptions.py,sha256=Rpwo1GVE2eJhFVAGJWAlsY4XypZ-i0j9Th-pnm7l_yY,5951
|
|
10
|
-
rnet/header.py,sha256=K_bp5F_4D21UjMaBp7aM-aGVYI162IsX-vn2fjExEF4,9749
|
|
11
|
-
rnet/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
rnet/rnet.abi3.so,sha256=QBg5UGarPJfr7qdLCJM7VTJaD2Bf7lTN1NI-6jrM3k0,7392064
|
|
13
|
-
rnet/tls.py,sha256=3X6JtOvye1MXQQKjxZLDesu0VvVxqNew7bRGE09dUHc,4546
|
|
14
|
-
rnet-3.0.0rc6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|