TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: FunctionCacher, a Python cache-to-disk utility

6 pointsby itsphilosabout 1 year ago
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

ppedraabout 1 year ago
I think Joblib Memory does the trick even better. <a href="https:&#x2F;&#x2F;joblib.readthedocs.io&#x2F;en&#x2F;latest&#x2F;auto_examples&#x2F;memory_basic_usage.html" rel="nofollow">https:&#x2F;&#x2F;joblib.readthedocs.io&#x2F;en&#x2F;latest&#x2F;auto_examples&#x2F;memory...</a>
antmanabout 1 year ago
A comparison or goals page for the project would help. Diskcache module has a similar functionality and a comparison page with different modules.