fw-http-client


Namefw-http-client JSON
Version 1.7.3 PyPI version JSON
download
home_pagehttps://gitlab.com/flywheel-io/tools/lib/fw-http-client
SummaryProd-ready HTTP client with timeout and retries
upload_time2025-01-14 11:24:58
maintainerNone
docs_urlNone
authorFlywheel
requires_python<4.0,>=3.9
licenseMIT
keywords flywheel http client
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fw-http-client

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

## 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)

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/flywheel-io/tools/lib/fw-http-client",
    "name": "fw-http-client",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "Flywheel, HTTP, client",
    "author": "Flywheel",
    "author_email": "support@flywheel.io",
    "download_url": null,
    "platform": null,
    "description": "# fw-http-client\n\nProd-ready HTTP client with timeouts and retries by default.\n\n## Installation\n\nAdd as a `poetry` dependency to your project:\n\n```bash\npoetry add fw-http-client\n```\n\n## Usage\n\n```python\nfrom fw_http_client import HttpClient\n\nclient = HttpClient(client_name=\"my-app\", client_version=\"1.0\")\ndata = client.get(\"https://httpbin.org/json\")\nassert data.slideshow.title == \"Sample Slide Show\"\n```\n\n## Development\n\nInstall the project using `poetry` and enable `pre-commit`:\n\n```bash\npoetry install\npre-commit install\n```\n\n## License\n\n[![MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Prod-ready HTTP client with timeout and retries",
    "version": "1.7.3",
    "project_urls": {
        "Documentation": "https://gitlab.com/flywheel-io/tools/lib/fw-http-client",
        "Homepage": "https://gitlab.com/flywheel-io/tools/lib/fw-http-client",
        "Repository": "https://gitlab.com/flywheel-io/tools/lib/fw-http-client"
    },
    "split_keywords": [
        "flywheel",
        " http",
        " client"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c2c7192b1ace82c62c8ec19846ee2caa9584369c6d849e957cc7583d8c7d73f",
                "md5": "c159dc6b1a4cb92e12eb96d02d4fbbc1",
                "sha256": "18ed8ab80d4d4a7f93517793af5dada8240b91f6c14456f1f06ca88f5489d5ee"
            },
            "downloads": -1,
            "filename": "fw_http_client-1.7.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c159dc6b1a4cb92e12eb96d02d4fbbc1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 9347,
            "upload_time": "2025-01-14T11:24:58",
            "upload_time_iso_8601": "2025-01-14T11:24:58.760720Z",
            "url": "https://files.pythonhosted.org/packages/0c/2c/7192b1ace82c62c8ec19846ee2caa9584369c6d849e957cc7583d8c7d73f/fw_http_client-1.7.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-14 11:24:58",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "flywheel-io",
    "gitlab_project": "tools",
    "lcname": "fw-http-client"
}
        
Elapsed time: 0.42733s