Skip to main content

HTTP delegate base class with retry support

Project description

csrd-delegate

HTTP client delegate base class with retry support for FastAPI microservices.

Package: csrd.delegate · Import: from csrd.delegate import BaseDelegate

What's included

  • BaseDelegate — async HTTP client with header forwarding, retry via tenacity, and lifecycle (close() / async with)
  • Response parsing via csrd.models.model_parser
  • Configurable retry profiles (conservative, aggressive, resilient)
  • httpx-specific response types (ResponseHandler, ResponseHandlerMap)

Installation

uv pip install "csrd-delegate @ git+ssh://git@github.com/csrd-api/fastapi-common.git#subdirectory=packages/delegate"

Dependencies

  • csrd-models, csrd-context (Tier 2)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csrd_delegate-0.1.44.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

csrd_delegate-0.1.44-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file csrd_delegate-0.1.44.tar.gz.

File metadata

  • Download URL: csrd_delegate-0.1.44.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for csrd_delegate-0.1.44.tar.gz
Algorithm Hash digest
SHA256 2c770cf00d138d62458b751ec2b436869323795d5ec49bb25ce78a5d85ac78cf
MD5 eaff085c6be3132a4424db3d29cf8b47
BLAKE2b-256 62a4878d231d7a28c6c331ab3ce5173bc096ecb4ebf151221f7dc14df991bb4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_delegate-0.1.44.tar.gz:

Publisher: release.yml on csrd-api/fastapi-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file csrd_delegate-0.1.44-py3-none-any.whl.

File metadata

  • Download URL: csrd_delegate-0.1.44-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for csrd_delegate-0.1.44-py3-none-any.whl
Algorithm Hash digest
SHA256 55b80b08ab9b923a0126c86c7fcd1b728a92cdf6403f3fb6bf7f2f195f44a3d1
MD5 c2a9873c727680f9bfa0ef3c603d91db
BLAKE2b-256 1f67453a83978c0224fa6d1900a65b6c8cd49e5d47980f2043767c2f75bf90f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_delegate-0.1.44-py3-none-any.whl:

Publisher: release.yml on csrd-api/fastapi-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page