Last updated:
0 purchases
OutCache 1.0.1
OutCache
Function output cacher
Regular usage:
from outcache import Cache
@Cache(minutes=1)
def get_profile(email: str, username: str):
my_dict = {"email": email, "username": username}
return my_dict
profile = get_profile("[email protected]", username="example")
Async usage
from outcache import CacheAsync
@CacheAsync(minutes=1)
async def get_profile(email: str, username: str):
my_dict = {"email": email, "username": username}
return my_dict
profile = await get_profile("[email protected]", username="example")
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.