Hey! For implementing time-based cache Python, I’d say `cachetools` is the way to go. It’s lightweight and does exactly what you need.
If you’re worried about dependencies, you can always write your own wrapper around `@lru_cache` with a timestamp check. But honestly, `cachetools` is so easy to use, it’s worth it.
If you’re worried about dependencies, you can always write your own wrapper around `@lru_cache` with a timestamp check. But honestly, `cachetools` is so easy to use, it’s worth it.
