PyMemoize icon indicating copy to clipboard operation
PyMemoize copied to clipboard

Simple Python cache and memoizing module

Results 13 PyMemoize issues
Sort by recently updated
recently updated
newest added

Collections has dropped support for importing abstract classes directly from collections and added them to collections.abc These changes are compatible across python 3.3 to 3.10+.

When using the redis store provider, it would be nice to have a way to "warm the cache" that uses redis bulk operations. I'm using the memo decorator basically to...

Scenario: Using redis store, and the store is remote Expected behavior: If the store is unavailable, catch exceptions, log a warning, and just run the normal function. Actual behavior: exceptions...

Hey, is there a way to inject a memo instance into a class? I don't like the idea of either accessing it globally or having to create an instance in...

Right now it is not documented well (or at all) how to decorate class methods. This is particular tricky with regards to how keys are generated from instances (they are...

If we restrict the types that are allowed to be used as etags (and/or user-specified keys, see #4), then we could allow either a scalar etag or a function to...