python-memoization icon indicating copy to clipboard operation
python-memoization copied to clipboard

A powerful caching library for Python, with TTL support and multiple algorithm options.

Results 14 python-memoization issues
Sort by recently updated
recently updated
newest added

Looking at the profiler output, it seems like cached decorator is not releasing memory: ``` 32 2578.6 MiB 0.0 MiB 1 c = MemoizeClass() 33 2829.4 MiB 0.0 MiB 1001...

I am getting this deprecation warning: "DEPRECATION: distro-info 0.23ubuntu1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer...

Is there the opportunity to bypass some specific function arguments when caching? An example of desired functionality is fulfilled by [joblib](https://joblib.readthedocs.io/en/latest/memory.html#ignoring-some-arguments)

``` def wrapper(*args, **kwargs): """The actual wrapper""" nonlocal hits, misses key = make_key(args, kwargs) value = cache.get(key, sentinel) if value is not sentinel and values_toolkit.is_cache_value_valid(value): with lock: hits += 1...