Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Funkycache: A Python library to cache functions in SQLite (https://alexwlchan.net)

14 points by wmchen 4 days ago | 7 comments | View on ycombinator

Twirrim about 13 hours ago |

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.

wulfmann about 20 hours ago |

Forbidden

hmartin about 18 hours ago |

enjoyyourlife about 7 hours ago |

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