Simple method memoization decorator based on cachetools, suitable for numpy.ndarray input.
-
Updated
Oct 9, 2015 - Python
Simple method memoization decorator based on cachetools, suitable for numpy.ndarray input.
fcache caches the result of function calls to memory or disk. Saves you the pain of recomputing slow functions over and over again. fcache works well with numpy arrays, pandas dataframes and inside ipython notebooks.
A straightforward LRU Cache implementation using OrderedDict
An enhanced memoization library for Python
A Python Decorator similar to but simpler than functools.lru_cache with the extra ability to select parameters
A powerful caching library for Python, with TTL support and multiple algorithm options.
Easy to use caching for functions and methods.
A memoize library which can be used standalone, or plugged into key/value stores such as redis. Also contains functionality to invalidate cache based on function name and arguments.
Memoization decorator for Python, with optional TTL (measured in time or function calls) for the cached results.
Stores the results of expensive function calls and returns the cached result when the same inputs occur again
Python Memoizer for classes, functions, and methods
An adjustable cache for python functions.
Add a description, image, and links to the memoize-decorator topic page so that developers can more easily learn about it.
To associate your repository with the memoize-decorator topic, visit your repo's landing page and select "manage topics."