retry-decorator-2.0a1


توضیحات

Retry Decorator
ویژگی مقدار
سیستم عامل -
نام فایل retry-decorator-2.0a1
نام retry-decorator
نسخه کتابخانه 2.0a1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Patrick Ng
ایمیل نویسنده pn.appdev@gmail.com
آدرس صفحه اصلی https://github.com/pnpnpn/retry-decorator
آدرس اینترنتی https://pypi.org/project/retry-decorator/
مجوز MIT
.. 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.


نحوه نصب


نصب پکیج whl retry-decorator-2.0a1:

    pip install retry-decorator-2.0a1.whl


نصب پکیج tar.gz retry-decorator-2.0a1:

    pip install retry-decorator-2.0a1.tar.gz