Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resq-1.0.0-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

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

Hashes for resq-1.0.0.tar.gz
Algorithm Hash digest
SHA256 974d7b570311b77fd1f6bd5348d6e41d545812ce3afeed4fd8ad3ab1c0298858
MD5 9920fce2d76a028188e8833ed9d023d2
BLAKE2b-256 e4803045c0a963d69c666f594c60b7948aa32c4266843b7df4a2e9731d591dc9

See more details on using hashes here.

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

Hashes for resq-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67eedb967879b13f0e96376b8ddbbd5bcc9bbfa0e857ed8975b049b10c6f5189
MD5 89abf5b1b0bbceb8f8bdc7cae1284204
BLAKE2b-256 337671e279d0c42e39483ea2edd180861884f8cc77464c76783ccaea6f9c680c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.0.1

2 files

0.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page