pyretries


Namepyretries JSON
Version 0.2.10 PyPI version JSON
download
home_pagehttps://benmezger.github.io/pyretries
SummaryA Python retry package based on strategies
upload_time2024-05-03 22:53:21
maintainerNone
docs_urlNone
authorBen Mezger
requires_python<4.0,>=3.11
licenseNone
keywords retry python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyRetries

![Github actions](https://github.com/benmezger/pyretries/actions/workflows/main.yml/badge.svg)
[![codecov](https://codecov.io/gh/benmezger/pyretries/graph/badge.svg?token=E9gAEDW4qT)](https://codecov.io/gh/benmezger/pyretries)

A retry library for Python. This library allows:

1. Creating custom strategies
1. Applying hooks before and after executing function (useful for custom logging)
1. Applying hook to when function raised an error (useful for incriminating metrics)
1. Applying multiple retry strategies
1. Fully typed

See [documentation](https://benmezger.github.io/pyretries/) for more information.

## Installing

The package is available through [Pypi](https://pypi.org/project/pyretries/). You can install using `pip` or any of your favorite package manager:

```shell
pip install pyretries
```

Or using `poetry`

```shell
poetry add pyretries
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://benmezger.github.io/pyretries",
    "name": "pyretries",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": "retry, python",
    "author": "Ben Mezger",
    "author_email": "me@benmezger.nl",
    "download_url": "https://files.pythonhosted.org/packages/f0/c6/7143daaa3f1c98a6d3228b12b8ed23ce1f395d1fb24136e5f27bd278e674/pyretries-0.2.10.tar.gz",
    "platform": null,
    "description": "# PyRetries\n\n![Github actions](https://github.com/benmezger/pyretries/actions/workflows/main.yml/badge.svg)\n[![codecov](https://codecov.io/gh/benmezger/pyretries/graph/badge.svg?token=E9gAEDW4qT)](https://codecov.io/gh/benmezger/pyretries)\n\nA retry library for Python. This library allows:\n\n1. Creating custom strategies\n1. Applying hooks before and after executing function (useful for custom logging)\n1. Applying hook to when function raised an error (useful for incriminating metrics)\n1. Applying multiple retry strategies\n1. Fully typed\n\nSee [documentation](https://benmezger.github.io/pyretries/) for more information.\n\n## Installing\n\nThe package is available through [Pypi](https://pypi.org/project/pyretries/). You can install using `pip` or any of your favorite package manager:\n\n```shell\npip install pyretries\n```\n\nOr using `poetry`\n\n```shell\npoetry add pyretries\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python retry package based on strategies",
    "version": "0.2.10",
    "project_urls": {
        "Documentation": "https://benmezger.github.io/pyretries",
        "Homepage": "https://benmezger.github.io/pyretries",
        "Repository": "https://github.com/benmezger/pyretries"
    },
    "split_keywords": [
        "retry",
        " python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5483c07a9852a47861bc002ebc318ac1a69f45acedc1c0b623ad4d1252a1451",
                "md5": "d2d136ae23d74485669505dea6db5f84",
                "sha256": "bd5035f307d390e143a2effa7624240ff82d63ff95760f24cb3408d1089f0355"
            },
            "downloads": -1,
            "filename": "pyretries-0.2.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d2d136ae23d74485669505dea6db5f84",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 6794,
            "upload_time": "2024-05-03T22:53:20",
            "upload_time_iso_8601": "2024-05-03T22:53:20.603327Z",
            "url": "https://files.pythonhosted.org/packages/f5/48/3c07a9852a47861bc002ebc318ac1a69f45acedc1c0b623ad4d1252a1451/pyretries-0.2.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0c67143daaa3f1c98a6d3228b12b8ed23ce1f395d1fb24136e5f27bd278e674",
                "md5": "50d7b0e7f4eb5a5cf91ee4ecc6178525",
                "sha256": "d36f6cad47b80499fb8f06baafb577c3cb092a9830d46fa55c34c294ae463d51"
            },
            "downloads": -1,
            "filename": "pyretries-0.2.10.tar.gz",
            "has_sig": false,
            "md5_digest": "50d7b0e7f4eb5a5cf91ee4ecc6178525",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 6087,
            "upload_time": "2024-05-03T22:53:21",
            "upload_time_iso_8601": "2024-05-03T22:53:21.856597Z",
            "url": "https://files.pythonhosted.org/packages/f0/c6/7143daaa3f1c98a6d3228b12b8ed23ce1f395d1fb24136e5f27bd278e674/pyretries-0.2.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-03 22:53:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "benmezger",
    "github_project": "pyretries",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pyretries"
}
        
Elapsed time: 0.22541s