Metadata-Version: 1.1
Name: retry-decorator
Version: 1.1.0
Summary: Retry Decorator
Home-page: https://github.com/pnpnpn/retry-decorator
Author: Patrick Ng
Author-email: pn.appdev@gmail.com
License: MIT
Description: 
        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.
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
