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.3.tar.gz (3.2 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.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for base_client-0.1.3.tar.gz
Algorithm Hash digest
SHA256 918084999fcb276602b126e0a0f06ac1b543713f616d087080a19c3c38449f93
MD5 5a5a1d25972b496f477bb56daee34a05
BLAKE2b-256 b10307c317f2f80059e4f71f676744d94180df5f35964b1475bf6602b94f594f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for base_client-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6ee581a4336b9be694f3bbdb8024c0e984839893a3ab0a17b447dfd8ac6fd9ad
MD5 b7cedd313cadd979ae05c899446f7feb
BLAKE2b-256 9c44140f15a4d089ac78f13c8c54387d094ffed9f2c86d813d6980b77bd3650d

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