Skip to content

Repository files navigation

Simple TTL cache for multithreaded application

Usage

Usual get, put and evict methods.

Using decorator:

from simple_ttl_cache import ttl_cache


@ttl_cache
def expensive_calculation(id: int) -> str:
    return str(id)

Installation

$ pip install simple_ttl_cache

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages