Prod-ready HTTP client with timeout and retries
Project description
fw-http-client
Prod-ready HTTP client with timeout and retries.
Installation
Add as a poetry
dependency to your project:
poetry add fw-http-client
Usage
from fw_http_client import HttpClient
client = HttpClient(client_name="my-app", client_version="1.0")
data = client.get("https://httpbin.org/json")
assert data.slideshow.title == "Sample Slide Show"
Development
Install the project using poetry
and enable pre-commit
:
poetry install
pre-commit install
License
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for fw_http_client-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06dd08d3879ae811dbed7fbda914d2a1526f14096d1a93c543c350a4d48a1023 |
|
MD5 | d8eb9525bfd24e83122bb48c34ebbdc5 |
|
BLAKE2b-256 | 642b3775707fb93306dabd368bd7ff8f9b08cace3a8b6fa331733349a621015c |