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

Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python.

Results 79 python-diskcache issues
Sort by recently updated
recently updated
newest added

I've added the changes from the issue (https://github.com/grantjenks/python-diskcache/issues/125) & added a test (mirroring the regular memoize test).

def memoize_lease(cache, expire, lease, name=None, typed=False, tag=None): The `expire` argument is a "hard deadline" for evicting cache entries. Set `expire` to `None` to avoid evictions due to expiration. The `lease`...

Hi while Deque have same function as collections.deque but it missing the maxlen function. Is there a solution to remove the most right when push from left and maxlen is...

WIP for Flask-Caching support * [ ] Implement methods in flaskcache.py

Some prototyping for a fair lock recipe.

Hi is it possible to enforce a readonly cache.db database? I am running with default options and although it is not supposed to modify the db, at the end the...

Hi, I'm currently using [joblib](https://pythonhosted.org/joblib/index.html) for caching numpy array objects. Is there any benchmark on these kind of inputs for DiskCache?

Hi! I need a simple key/value store to track the output of unittests. In the application, multiple tests will run at once and write to the same key/value store. The...

More a design question, at least first: When using `memoize()`, default arguments are not taken into account: ```py @CACHE.memoize() def f(a, b = 'foo'): pass ``` When calling `f(1)`, only...

Hi, when using `diskcache` with the newer django framework 4.1, one of the tests fail: ``` ============================= test session starts ============================== platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0 rootdir: /build/source,...