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
httpxparameters - 🧩 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.2.tar.gz
(6.7 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
File details
Details for the file base_client-0.1.2.tar.gz.
File metadata
- Download URL: base_client-0.1.2.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcb230cbd2bd2f9b946eb2e87a2ce93648188653fcb5ceff1dcf2bfb1d9c46ba
|
|
| MD5 |
7973214d5da7832bb7cf68f63b0a8efc
|
|
| BLAKE2b-256 |
f87b16c7f6eb667703685827a93c6ca4b9c3c51b125cef2421304fc1ef731466
|
File details
Details for the file base_client-0.1.2-py3-none-any.whl.
File metadata
- Download URL: base_client-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d4c8ed85789ef75ef3149825a089a8580347e421e8158d1b9fca11ca47f60af
|
|
| MD5 |
bd8c7a165ead43b648fc6f041351fd09
|
|
| BLAKE2b-256 |
60e9583af48c1ce17d4893ccda72b34f493c58870fb531a6b97868ca98f97a6c
|