resq
Dual-mode HTTP client — one verb surface, adapter-selected engines: 'requests' for
sync, 'httpx' for async.
Install: pip install resq.
from resq import Requests
with Requests("https://api.example.com", adapter="requests", timeout=5) as client:
data = client.get("/users/42").json()
Async — same verbs, adapter="httpx", await them:
from resq import Session
async with Session("https://api.example.com", adapter="httpx", timeout=5) as client:
data = (await client.get("/users/42")).json()
A method-level timeout turns a verb into a polling loop; r.reload() re-runs a
request in place.
Full documentation: https://qarium.github.io/resq/.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
resq-1.0.0.tar.gz
(61.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
resq-1.0.0-py3-none-any.whl
(36.5 kB
view details)
File details
Details for the file resq-1.0.0.tar.gz.
File metadata
- Download URL: resq-1.0.0.tar.gz
- Upload date:
- Size: 61.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
974d7b570311b77fd1f6bd5348d6e41d545812ce3afeed4fd8ad3ab1c0298858
|
|
| MD5 |
9920fce2d76a028188e8833ed9d023d2
|
|
| BLAKE2b-256 |
e4803045c0a963d69c666f594c60b7948aa32c4266843b7df4a2e9731d591dc9
|
File details
Details for the file resq-1.0.0-py3-none-any.whl.
File metadata
- Download URL: resq-1.0.0-py3-none-any.whl
- Upload date:
- Size: 36.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67eedb967879b13f0e96376b8ddbbd5bcc9bbfa0e857ed8975b049b10c6f5189
|
|
| MD5 |
89abf5b1b0bbceb8f8bdc7cae1284204
|
|
| BLAKE2b-256 |
337671e279d0c42e39483ea2edd180861884f8cc77464c76783ccaea6f9c680c
|