retryrequests-0.2.0


توضیحات

A Python library that make HTTP requests with exponential back-off retry by using requests package.
ویژگی مقدار
سیستم عامل OS Independent
نام فایل retryrequests-0.2.0
نام retryrequests
نسخه کتابخانه 0.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Tsuyoshi Hombashi
ایمیل نویسنده tsuyoshi.hombashi@gmail.com
آدرس صفحه اصلی https://github.com/thombashi/retryrequests
آدرس اینترنتی https://pypi.org/project/retryrequests/
مجوز MIT License
.. contents:: **retryrequests** :backlinks: top :depth: 2 Summary ============================================ A Python library that make HTTP requests with exponential back-off retry by using `requests <https://docs.python-requests.org/en/master/>`__ package. .. image:: https://badge.fury.io/py/retryrequests.svg :target: https://badge.fury.io/py/retryrequests :alt: PyPI package version .. image:: https://img.shields.io/pypi/pyversions/retryrequests.svg :target: https://pypi.org/project/retryrequests :alt: Supported Python versions Installation ============================================ :: pip install retryrequests Usage ============================================ ``retryrequests`` has same interface with ``requests``: :Sample Code: .. code-block:: python import json import retryrequests r = retryrequests.get("https://kctbh9vrtdwd.statuspage.io/api/v2/status.json") r.raise_for_status() print(json.dumps(r.json(), indent=4)) :Output: .. code-block:: json { "page": { "id": "kctbh9vrtdwd", "name": "GitHub", "url": "https://www.githubstatus.com", "time_zone": "Etc/UTC", "updated_at": "2019-03-30T07:11:24.851Z" }, "status": { "indicator": "none", "description": "All Systems Operational" } } Dependencies ============================================ Python 3.6+ - `requests <http://python-requests.org/>`__


نیازمندی

مقدار نام
<3.0.0,>=2.18.4 requests


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl retryrequests-0.2.0:

    pip install retryrequests-0.2.0.whl


نصب پکیج tar.gz retryrequests-0.2.0:

    pip install retryrequests-0.2.0.tar.gz