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

So far https://github.com/grantjenks/python-diskcache/releases is empty. On create github release entry is created email notification to those whom have set in your repo the web UI Watch->Releases. gh release can contain...

Currently in [`JSONDisk`](https://github.com/grantjenks/python-diskcache/blob/4d3068625a3edcd2f5a1f6f104ef621f1f7ea395/diskcache/core.py#L334), `json.loads` and `json.dumps` are used for keys/values (de-)serialization (with the stdlib `json` module). Both the `json` module and arguments to load/dump are hard-coded, making it hard to...

#276 I think this is a small fix and should work from 3.5+. If user are on

Currently when importing whatever object from diskcache, if `django` is installed it is imported. You can see it in the next image generated by [pyinstrument](https://github.com/joerick/pyinstrument): ![image](https://user-images.githubusercontent.com/23049315/208264054-1991e400-0aba-463c-a218-4dc4350f173d.png) To avoid that, this...

# Summary Right now, if a user sends repeated `KeyboardInterrupt` signals it's possible for `diskcache` to get stuck in a locked state because the cleanup logic that's meant to unlock...

If sqlite3 is built with double-quoted string literals disabled (which is recommended, see https://www.sqlite.org/compile.html#dqs), diskcache starts failing with the following crypting error: ``` no such column: "size" ``` This is...

Since being one of the few choices available in Python's Dash library, and since there is heavy usage of pandas.DataFrames in general, could the .memoize() functions introduce support for these?...

Changes the `args_to_key` construction so that it both produces unique keys for its different arguments and implements its inverse `key_to_args`. Adds test to check the these as inverses. See also...

Hey, really appreciate this library! I have a small feature request (and an accompanying PR), which is just to make the `.__cache_key__` of a `memoize`d function invertible (which also means...