Metadata-Version: 2.1
Name: fw-http-client
Version: 1.3.1
Summary: Prod-ready HTTP client with timeout and retries
Home-page: https://gitlab.com/flywheel-io/tools/lib/fw-http-client
License: MIT
Keywords: Flywheel,HTTP,client
Author: Flywheel
Author-email: support@flywheel.io
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: fw-utils (>=3,<5)
Requires-Dist: pydantic (>=1.6.1,<2.0.0)
Requires-Dist: requests (>=2.24.0,<3.0.0)
Project-URL: Documentation, https://gitlab.com/flywheel-io/tools/lib/fw-http-client
Project-URL: Repository, https://gitlab.com/flywheel-io/tools/lib/fw-http-client
Description-Content-Type: text/markdown

# fw-http-client

Prod-ready HTTP client with timeout and retries.

## Installation

Add as a `poetry` dependency to your project:

```bash
poetry add fw-http-client
```

## Usage

```python
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`:

```bash
poetry install
pre-commit install
```

## License

[![MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)

