Skip to content

mambocab/echo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

echo

A micro library for retrying failing operations inspired by retry. It's just as simple as decorating the function. It will retry n number of times and then raise a FailingTooHard exception if it doesn't succeed.

import requests
from pyecho import echo

@echo(10) # Retry function upto 10 times
def fetch():
	r = requests.get('http://google.com')
	return r.text

fetch()

Installation

echo can be installed using Pypi, pip install pyecho

License

echo is distributed under MIT license, see LICENSE for more details.

About

A micro library for retrying failing operations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages