Ross ROSS = Recommend OSS · open-source software intelligence for agents

tkem/cachetools

Extensible memoizing collections and decorators observed · 2026-08-28

github.com/tkem/cachetools · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

75/100

  • Activity 95
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4547
  • days_rel: n/a
  • days_push: 32
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2776 stars · 204 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Python library providing extensible memoizing collections and decorators, including cache classes like LRUCache and TTLCache with pluggable eviction policies. It offers a @cached decorator as a drop-in alternative to functools.lru_cache with more cache algorithm options.

Use cases

  • memoize expensive function calls in python
  • cache with ttl expiration
  • lru cache with max size for python functions
  • speed up recursive functions with dynamic programming
  • cache api responses for a limited time
  • custom cache eviction policies

When to choose

  • you need in-process memoization with configurable eviction policies like LRU, TTL, or LFU
  • you want a more flexible alternative to functools.lru_cache
  • you need bounded mutable mappings that act as caches

When to avoid

  • you need a distributed or shared cache across processes - use Redis or Memcached instead
  • you need async function caching out of the box - cachetools is synchronous (see asyncache)
  • you need persistent caching across restarts

Facets

library · maturity stable

caching developer-tools developer-tools performance python cross-platform memoization lru-cache ttl-cache decorators in-memory-cache python

2 sources

Member repositories

RepositoryRoleHealth v2
tkem/cachetoolsmain75

For agents

markdown · JSON · MCP: product_card(name="tkem/cachetools")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem