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

grantjenks/python-diskcache

Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python. observed · 2026-08-28

github.com/grantjenks/python-diskcache · homepage · Python · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases no_license

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: 3864
  • days_rel: n/a
  • days_push: 753
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2906 stars · 178 forks observed · 2026-08-28

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

DiskCache is a pure-Python disk and file backed cache library with a Django-compatible API, built on SQLite and memory-mapped files. It provides persistent key-value caching with eviction policies (LRU/LFU), tag metadata, memoization, and thread/process safety without needing a separate cache server.

Use cases

  • cache gigabytes of data on disk instead of RAM in Python
  • replace Redis or Memcached for local caching without running a server
  • add a fast persistent cache backend to Django
  • memoize expensive function results across processes
  • persist a key-value store with expiration and eviction policies
  • speed up web crawlers or batch jobs with a persistent queue and cache

When to choose

  • you want caching without deploying or maintaining a separate Redis/Memcached server
  • your cache is larger than available memory and should persist across restarts
  • you need a Django cache backend that scales better than the built-in filesystem cache
  • you need thread-safe and process-safe caching in pure Python with no C compiler

When to avoid

  • you need a shared network cache across many machines
  • your workload is write-heavy and disk I/O latency is unacceptable
  • you need advanced Redis features like pub/sub, replication, or data structures beyond key-value
  • you require an actively maintained project with frequent releases

Facets

library · maturity stable

caching serialization databases web-development developer-tools performance python cross-platform disk-cache key-value-store django-cache-backend sqlite persistent-cache memoization pure-python

10 sources

Member repositories

RepositoryRoleHealth v2
grantjenks/python-diskcachemain32

For agents

markdown · JSON · MCP: product_card(name="grantjenks/python-diskcache")

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