decolib-0.0.1
توضیحات
Various python decorators
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | decolib-0.0.1 |
| نام | decolib |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Pavel Zhukov |
| ایمیل نویسنده | gelios@gmail.com |
| آدرس صفحه اصلی | http://bitbucket.org/zeus/decolib |
| آدرس اینترنتی | https://pypi.org/project/decolib/ |
| مجوز | GPL |
Various useful python decorators:
- retry(tries, delay=3, backoff=2) Retries a function or method until it complite without exeptions delay sets the initial delay, and backoff sets how much the delay should lengthen after each failure. backoff must be greater than 1, or else it isn't really a backoff. tries must be at least 0, and delay greater than 0
- memoized
Classic memoization. Function cache results, then return objects from cache for same argumets
نحوه نصب
نصب پکیج whl decolib-0.0.1:
pip install decolib-0.0.1.whl
نصب پکیج tar.gz decolib-0.0.1:
pip install decolib-0.0.1.tar.gz