Skip to main content

Implementation of base client

Project description

HTTP Client with Circuit Breaker Integration

Asynchronous HTTP client with Circuit Breaker integration for failure handling and retries.

Features

  • 🚀 Asynchronous client based on httpx.AsyncClient
  • Circuit Breaker integration circuit-breaker-box
  • 🔄 Automatic retries tenacity
  • 📝 Detailed logging
  • 🛡️ Flexible response validation
  • 🔧 Flexible request preparation supporting all httpx parameters
  • 🧩 Customizable response handlers via inheritance

Installation

pip install base-client

Usage

See -> Examples

Development

Commands

Use -> Justfile

Project details


Download files

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

Source Distribution

base_client-0.1.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

base_client-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file base_client-0.1.1.tar.gz.

File metadata

  • Download URL: base_client-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for base_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 62e81b67b1c3b243c63857be14dfa125a67c1e885fc4211e135712a6daa0e120
MD5 b0d03b4befb82328ea6ed44addfc6351
BLAKE2b-256 262e6c7d810019bffe0df841137e4f2e78e623309f7d2ee9172911e9051b381e

See more details on using hashes here.

File details

Details for the file base_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for base_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08b94ffa81144c8c8b04f5b114ccf5af6f00610b7e3b1e30d86699c7a6087ac1
MD5 5f6ab4321bf3fa4d6f53042110310707
BLAKE2b-256 f7a0b58fe6a893cb165c896b244069b5c606ff5d3fdf6d8f8a622c7428b0e774

See more details on using hashes here.

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