DiskCache
Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python. (by grantjenks)
pylibmc
A Python wrapper around the libmemcached interface from TangentOrg. (by lericson)
Our great sponsors
DiskCache | pylibmc | |
---|---|---|
6 | 2 | |
2,157 | 477 | |
- | - | |
4.5 | 4.6 | |
10 days ago | 7 months ago | |
Python | C | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
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.
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/
pylibmc
Posts with mentions or reviews of pylibmc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-11.
-
Improving distributed caching performance and efficiency at Pinterest
I do hope Pinterest would fund memcached development going forward, especially the language clients for memcached. I've been using pylibmc to access memcached fast, and that project seems to be almost dead (https://github.com/lericson/pylibmc/issues).
-
Memcached on Heroku w/ Django : can't install pylibmc / memcacheify
I've spent a lot of time on this and it's clearly beyond my newbie understanding/skills. I tried to install django-heroku-memcacheify with pip install, which throws errors. I tracked the problem down to pylibmc, which is causing all the problems. Here's one of the interesting parts of the error log:
What are some alternatives?
When comparing DiskCache and pylibmc you can also consider the following projects:
cachetools - Extensible memoizing collections and decorators
Beaker - WSGI middleware for sessions and caching
johnny-cache - johnny cache django caching framework
flask-cache-redis - :fire: Implementation of API Caching with Flask, Redis and Docker
HermesCache
dogpile.cache
django-cacheops - A slick ORM cache with automatic granular event-driven invalidation.
python-diskcache - Persistent dict, backed by sqlite3 and pickle, multithread-safe.
cashier - Persistent caching for python functions