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
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.4.tar.gz
(3.3 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.4.tar.gz.
File metadata
- Download URL: base_client-0.1.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0885416d8c978f8d08fc47cdc934c1ab8e3dee3e6a0bdef08fa94359407ddc0c
|
|
| MD5 |
ebc0899cc3ac553f1b41d601e02bec0c
|
|
| BLAKE2b-256 |
1e8ca1038f8a4bb91711ba3609014913a5472ec49b72fbf0828409eb0a85d6c1
|
File details
Details for the file base_client-0.1.4-py3-none-any.whl.
File metadata
- Download URL: base_client-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6391c6829ed4620984fa4138aa0530798e16e4a28705ed6c36a822b3c7215e3
|
|
| MD5 |
63810c5cdbb267c20306afd2fd3c8c2a
|
|
| BLAKE2b-256 |
bfa8927129b9e24fedd1c82bbde1e1c9945976196cf0e07d90e297eb6630e3fe
|