Skip to main content

Prod-ready HTTP client with timeout and retries

Project description

fw-http-client

[!caution] Deprecation Notice This project is deprecated and superseded by fw-client

Prod-ready HTTP client with timeouts and retries by default.

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

MIT

Project details


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

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

fw_http_client-1.7.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file fw_http_client-1.7.5-py3-none-any.whl.

File metadata

File hashes

Hashes for fw_http_client-1.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 04b2551b080554fa74d1ef8bba2fa460b8607de54ffe8d8f79bfa2b5c1d7da70
MD5 fa2fb227f2f68f1c6e64d7070e4b1d4b
BLAKE2b-256 39bac46e95e688ccc69797f5a76a60b6fe819c34f260ca6a38bfe2d8bb8a36fe

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