Skip to main content

Various python decorators

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for decolib, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size decolib-0.0.1.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page