Install

Contents

Install#

pip install https://github.com/limx0/deche.git

Quickstart#

Instantiate a cache

from deche import Cache

cache = Cache()

A wrap your functions!

@cache
def my_slow_function(a, b=1):
    time.sleep(a+b)