cachetools VS DiskCache

Compare cachetools vs DiskCache and see what are their differences.

cachetools

Extensible memoizing collections and decorators (by tkem)

DiskCache

Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python. (by grantjenks)
Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
cachetools DiskCache
0 2
1,192 1,371
- -
7.0 7.6
15 days ago 18 days ago
Python Python
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cachetools

Posts with mentions or reviews of cachetools. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning cachetools yet.
Tracking mentions began in Dec 2020.

DiskCache

Posts with mentions or reviews of DiskCache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-16.

What are some alternatives?

When comparing cachetools and DiskCache you can also consider the following projects:

Beaker - WSGI middleware for sessions and caching

dogpile.cache

python-diskcache - Persistent dict, backed by sqlite3 and pickle, multithread-safe.

HermesCache

cashier - Persistent caching for python functions

pylibmc - A Python wrapper around the libmemcached interface from TangentOrg.

Cachier - Persistent, stale-free, local and cross-machine caching for Python functions.

django-cache-machine - Automatic caching and invalidation for Django models through the ORM.

django-cacheops - A slick ORM cache with automatic granular event-driven invalidation.

django-viewlet - Render template parts with extended cache control.