Settings

Theme

Funkycache: A Python library to cache functions in SQLite

alexwlchan.net

14 points by wmchen · 7 comments

Reader

5 threads
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.

ddorian43

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

wulfmann

Forbidden

hmartin

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

enjoyyourlife

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection