Funkycache: A Python library to cache functions in SQLite

wmchen 14 points 7 comments November 16, 2026
alexwlchan.net · View on Hacker News

Discussion Highlights (4 comments)

ddorian43

https://web.archive.org/web/20261116204705/https://alexwlcha...

hmartin

https://pypi.org/project/funkycache/

Twirrim

One of the more mature libraries in this space would be diskcache https://pypi.org/project/diskcache/ https://grantjenks.com/docs/diskcache/ Very easy to use, and performant. Uses an sqlite backend. I'll often drop it in to a project temporarily if I'm in a position of feeling my way through a problem just to cut down execution time for things that aren't relevant to what I'm working on.

enjoyyourlife

Should have done it the Anthropic way and stored it in arbitrary files in the /tmp folder

Semantic search powered by Rivestack pgvector
3,874 stories · 35,194 chunks indexed