pyretries


Namepyretries JSON
Version 0.2.9 PyPI version JSON
download
home_pagehttps://benmezger.github.io/pyretries
SummaryA Python retry package based on strategies
upload_time2023-12-18 08:14:49
maintainer
docs_urlNone
authorBen Mezger
requires_python>=3.11,<4.0
license
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": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "retry,python",
    "author": "Ben Mezger",
    "author_email": "me@benmezger.nl",
    "download_url": "https://files.pythonhosted.org/packages/a9/d3/85206195bc62ef05131d45dbf14f4cb8b162a4db01fe982faf81f4a97320/pyretries-0.2.9.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": "",
    "summary": "A Python retry package based on strategies",
    "version": "0.2.9",
    "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": "e36b3816a1a6f7c7ec64c5a7e80fa22b0ce85eb6fcbd1d08f5b39d586626058a",
                "md5": "29030efc472f1f88f6d1812ae6976bcd",
                "sha256": "c9e48c09dec908c59675b41d7237190ab37c8d655cddbd9bdb348c7ba87cb8d7"
            },
            "downloads": -1,
            "filename": "pyretries-0.2.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "29030efc472f1f88f6d1812ae6976bcd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 6797,
            "upload_time": "2023-12-18T08:14:48",
            "upload_time_iso_8601": "2023-12-18T08:14:48.725123Z",
            "url": "https://files.pythonhosted.org/packages/e3/6b/3816a1a6f7c7ec64c5a7e80fa22b0ce85eb6fcbd1d08f5b39d586626058a/pyretries-0.2.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a9d385206195bc62ef05131d45dbf14f4cb8b162a4db01fe982faf81f4a97320",
                "md5": "7fb777b991c0c3a1c869f7f09487cf8e",
                "sha256": "238f6d9b0bb3a10912894c134510d2518fecbfe47dd1105474e886858031bc84"
            },
            "downloads": -1,
            "filename": "pyretries-0.2.9.tar.gz",
            "has_sig": false,
            "md5_digest": "7fb777b991c0c3a1c869f7f09487cf8e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 6001,
            "upload_time": "2023-12-18T08:14:49",
            "upload_time_iso_8601": "2023-12-18T08:14:49.686687Z",
            "url": "https://files.pythonhosted.org/packages/a9/d3/85206195bc62ef05131d45dbf14f4cb8b162a4db01fe982faf81f4a97320/pyretries-0.2.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-18 08:14:49",
    "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.15562s