httpr 0.1.0__cp313-cp313t-musllinux_1_2_i686.whl → 0.1.10__cp313-cp313t-musllinux_1_2_i686.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 httpr might be problematic. Click here for more details.

httpr/__init__.py CHANGED
@@ -114,6 +114,10 @@ class AsyncClient(Client):
114
114
  async def __aexit__(self, *args):
115
115
  del self
116
116
 
117
+ async def aclose(self):
118
+ del self
119
+ return
120
+
117
121
  async def _run_sync_asyncio(self, fn, *args, **kwargs):
118
122
  loop = asyncio.get_running_loop()
119
123
  return await loop.run_in_executor(None, partial(fn, *args, **kwargs))
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: httpr
3
- Version: 0.1.0
3
+ Version: 0.1.10
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3 :: Only
@@ -22,7 +22,7 @@ Requires-Dist: mypy>=1.14.1 ; extra == 'dev'
22
22
  Requires-Dist: ruff>=0.9.2 ; extra == 'dev'
23
23
  Requires-Dist: maturin ; extra == 'dev'
24
24
  Requires-Dist: trustme ; extra == 'dev'
25
- Requires-Dist: mkdocs-material ; extra == 'docs'
25
+ Requires-Dist: mkdocs-material[imaging] ; extra == 'docs'
26
26
  Requires-Dist: httpr[dev] ; extra == 'scratch'
27
27
  Requires-Dist: matplotlib ; extra == 'scratch'
28
28
  Requires-Dist: pandas ; extra == 'scratch'
@@ -47,19 +47,24 @@ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
47
47
 
48
48
  # httpr
49
49
 
50
- **Blazing fast http-client** for Python in Rust 🦀 that can be used as drop-in replacement for `httpx` in most cases.
50
+ **Blazing fast http-client** for Python in Rust 🦀 that can be used as drop-in replacement for `httpx` and `requests` in most cases.
51
51
 
52
- - **Fast**: httpr is built on top of `reqwests` which is a blazing fast http client in Rust. Check out the [benchmark](#benchmark).
53
- - **Both async and sync**: httpr provides both a sync and async client.
54
- - **Lightweight**: httpr is a lightweight http client with 0 python-dependencies.
55
- - **Async**: first-class support for async/await.
56
- - **http2**: httpr supports http2.
57
- - **mTLS**: httpr supports mTLS.
58
- - **Zero python dependencies**: httpr is a pure rust library with no python dependencies.
52
+ - **Fast**: `httpr` is built on top of `reqwests`, which is a blazing fast http client in Rust. Check out the [benchmark](#benchmark).
53
+ - **Both async and sync**: `httpr` provides both a sync and async client.
54
+ - **Lightweight**: `httpr` is a lightweight http client with zero python-dependencies.
55
+ - **Async**: first-class async support.
56
+ - **http2**: `httpr` supports HTTP/2.
57
+ - **mTLS**: `httpr` supports mTLS.
58
+
59
+ ## Not implemented yet
60
+
61
+ - **Streaming**: Streaming is not implemented yet.
62
+ - **Fine-grained error handling**: Fine-grained error handling is not implemented yet.
59
63
 
60
64
  ## Table of Contents
61
65
 
62
66
  - [httpr](#httpr)
67
+ - [Not implemented yet](#not-implemented-yet)
63
68
  - [Table of Contents](#table-of-contents)
64
69
  - [Installation](#installation)
65
70
  - [Install with uv](#install-with-uv)
@@ -310,7 +315,8 @@ Provides precompiled wheels for the following platforms:
310
315
 
311
316
  ## Acknowledgements
312
317
 
313
- - [PRIMP](https://github.com/deedy5/primp): *A lot* of code is borrowed from PRIMP, that wraps rust library `rquest` for python in a similar way.
318
+ - [uv](https://docs.astral.sh/uv/): The package manager used, and for leading the way in the "Rust for python tools"-sphere.
319
+ - [primp](https://github.com/deedy5/primp): *A lot* of code is borrowed from primp, that wraps rust library `rquest` for python in a similar way. If primp supported mTLS, I would have used it instead.
314
320
  - [reqwests](https://github.com/seanmonstar/reqwest): The rust library that powers httpr.
315
321
  - [pyo3](https://github.com/PyO3/pyo3)
316
322
  - [maturin](https://github.com/PyO3/maturin)
@@ -0,0 +1,9 @@
1
+ httpr-0.1.10.dist-info/METADATA,sha256=Skee3JJUdd1MTYEvMwOyyBBwMWSwhstTTDQQ2RM92UQ,12387
2
+ httpr-0.1.10.dist-info/WHEEL,sha256=SeScvRIsymjsXi6dxEMiMMO6H55yAuS5Wh9LLsz6BuU,106
3
+ httpr-0.1.10.dist-info/licenses/LICENSE,sha256=ZPD9tCar0h91tI4v-TuZdrjDdLqzU4rzPTxtP3x--uc,1063
4
+ httpr.libs/libgcc_s-b5472b99.so.1,sha256=wh8CpjXz9IccAyeERcB7YDEx7NH2jF-PykwOyYNeRRI,453841
5
+ httpr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ httpr/__init__.py,sha256=2AvAqECMH6euhi7kOacUDNZMSn3U0WvBW8KVPamg2-M,8689
7
+ httpr/httpr.pyi,sha256=PYXORKm_hXjnVPhEBgzbTLY97lYM2ZK-TpmwZAj0d9c,3729
8
+ httpr/httpr.cpython-313t-i386-linux-musl.so,sha256=-PWVek2zKCXQkWBpkWRMnvEcbK0NWkmAKdV-hEX8WBY,4525497
9
+ httpr-0.1.10.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- httpr-0.1.0.dist-info/METADATA,sha256=FgIF8afyC7W-QKc8owtoMA-38IEjWlOY5Sl2zBLm49g,12057
2
- httpr-0.1.0.dist-info/WHEEL,sha256=SeScvRIsymjsXi6dxEMiMMO6H55yAuS5Wh9LLsz6BuU,106
3
- httpr-0.1.0.dist-info/licenses/LICENSE,sha256=ZPD9tCar0h91tI4v-TuZdrjDdLqzU4rzPTxtP3x--uc,1063
4
- httpr.libs/libgcc_s-b5472b99.so.1,sha256=wh8CpjXz9IccAyeERcB7YDEx7NH2jF-PykwOyYNeRRI,453841
5
- httpr/__init__.py,sha256=gfa8_qVNDsXUHnOr3-6jiiuAUGkwHPymyPc0266b7qE,8628
6
- httpr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- httpr/httpr.pyi,sha256=PYXORKm_hXjnVPhEBgzbTLY97lYM2ZK-TpmwZAj0d9c,3729
8
- httpr/httpr.cpython-313t-i386-linux-musl.so,sha256=GAD-kSbbQSXwr5tvVPr32RYphliEGEClduJN9KnNs6k,4525497
9
- httpr-0.1.0.dist-info/RECORD,,
File without changes