akkudoktoreos.core.cache
In-memory and file caching.
Decorators and classes for caching results of computations, both in memory (using an LRU cache) and in temporary files. It also includes mechanisms for managing cache file expiration and retrieval.
Functions
|
Cache the output of a function into a temporary file. |
|
Decorator for in memory caching the result of a standalone function. |
|
Calback function for CacheUntilUpdateStore. |
|
Decorator for in memory caching the result of an instance method. |
Classes
|
|
|
A key-value store that manages file-like tempfile objects to be used as cache files. |
|
Singleton-based in-memory LRU (Least Recently Used) cache. |