Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

retry-decorator

1.1.1InactivePythie’s Index: 19

Retry Decorator

Likely abandoned. No release or commit for years (last release over 6 years ago).

Consider insteadpython-backoffPythie’s Index: 82523.3K downloads/moCompare →

Utilities & Language Tools
$pip install retry-decorator
pnpnpn/retry-decoratorPyPI
.. image:: https://badge.fury.io/py/retry_decorator.svg :target: https://badge.fury.io/py/retry_decorator .. image:: https://travis-ci.org/pnpnpn/retry-decorator.svg?branch=master :target: https://travis-ci.org/pnpnpn/retry-decorator Usage ----- Retry decorator :: #!/usr/bin/env python from __future__ import print_function from retry_decorator import * @retry(Exception, tries = 3, timeout_secs = 0.1) def test_retry(): import sys print('hello', file = sys.stderr) raise Exception('Testing retry') if __name__ == '__main__': try: test_retry() except Exception as e: print('Received the last exception') Contribute --------------- I would love for you to fork and send me pull request for this project. Please contribute.

Popularity

Downloads / month
377.8K
GitHub stars
27
Downloads, last 7 days
83.5K-7%
Stars, last 7 days
–
Direct dependents
0
All dependents
0

Pythie’s Index

How it works
19

Low activity

Maintenance, out of 100

  • Recent release

    last release 2453 days ago

  • Commit activity

    0/26 weeks with commits

  • Release cadence

    0 releases in 12 months

  • Issues & PRs handled

    no data

  • Contributor spread

    7 authors in last 100 commits

  • OpenSSF Scorecard

    2.9/10

Commits, last 26 weeks0

Releases

Latest
1.1.1
Released
Mar 12, 2020
Releases, 12 months
0
First release
May 27, 2013

Compatibility

Requires Python
not specified
License
MIT (Permissive)

Keywords

pythondecoratorsretryexception-handlingretry-libraryretryingretryerpython-decorators

Alternatives

Use instead of retry-decorator: tools that do the same job, closest first.

Compare with retrying →Compare with retry →Compare with backoff →Compare all 4 →

  • retrying1.4.2MaintainedPythie’s Index: 37

    Retrying

    Utilities & Language Tools9725.4M/moReleased Aug 3, 2025
  • retry0.9.2InactivePythie’s Index: 14

    Easy to use retry decorator.

    Utilities & Language Tools75527.6M/moReleased May 11, 2016
  • backoff2.2.1ArchivedPythie’s Index: 4

    Function decoration for backoff and retry

    Utilities & Language ToolsHTTP & Networking2.7K148.2M/moReleased Oct 5, 2022
  • retry20.9.5StalePythie’s Index: 19

    Easy to use retry decorator.

    Utilities & Language Tools302.1M/moReleased Jan 11, 2023
  • python-backoff3.1.0ActivePythie’s Index: 82

    Function decoration and context managers for backoff and retry

    Utilities & Language ToolsHTTP & Networking27523.3K/moReleased Nov 10, 2026
  • reretry0.11.8StalePythie’s Index: 26

    An easy to use, but functional decorator for retrying on exceptions.

    Utilities & Language Tools25169.5K/moReleased Dec 18, 2022