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
cachetools | DiskCache | |
---|---|---|
3 | 6 | |
2,107 | 2,157 | |
- | - | |
6.7 | 4.5 | |
15 days ago | 9 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
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. The last one was on 2023-02-08.
- Python deserves a good in-memory cache library!
- Fixing Python's "Cachetools" Library
-
Adding node and cell names for tensorboard graph
okay, now running tensorboard --logdir=runs gave me cachetools version conflict
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 2024-03-22.
-
This Week In Python
python-diskcache – disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python
-
Making a Password Manager, Should I Use MySQL or SQLite 3?
Based on your question about SQLite, it seems like you want to store the database inside of the program as opposed to on the internet. Furthermore, your data doesn't seem to be super relational to my knowledge. You might be better off using something like diskcache to store the data instead.
-
How I setup a sqlite cache in python
Give Grant some love and give grantjenks/python-diskcache a ⭐.
- What new in Starlite 1.1
- tqdm (Python)
-
Need help with an OD indexer that I am writing in Python
Do you know this project which covers most your needs ? http://www.grantjenks.com/docs/diskcache/
What are some alternatives?
When comparing cachetools and DiskCache you can also consider the following projects:
Beaker - WSGI middleware for sessions and caching
django-cacheops - A slick ORM cache with automatic granular event-driven invalidation.
flask-cache-redis - :fire: Implementation of API Caching with Flask, Redis and Docker
dogpile.cache
python-diskcache - Persistent dict, backed by sqlite3 and pickle, multithread-safe.
Chest - Simple spill-to-disk dictionary
Zict - Useful Mutable Mappings
HermesCache
Cachier - Persistent, stale-free, local and cross-machine caching for Python functions.
cashier - Persistent caching for python functions