Show HN: FunctionCacher, a Python cache-to-disk utility (gitlab.com)

6 points by itsphilos ↗ HN
The FunctionCacher Python utility provides a way to cache the result of a (computation- or IO-heavy) function call to a location on the filesystem, ideally onto a ramdisk/tmpfs. This allows caches to exceed the lifetime of the program, which is useful for rapid-prototyping (& rapid-crashing) scripts. Caches are generated based function name, parameters, and code. MIT Licence.

2 comments

[ 4.1 ms ] story [ 13.2 ms ] thread
A comparison or goals page for the project would help. Diskcache module has a similar functionality and a comparison page with different modules.