# Python Caching Libraries

> AI-ranked search results for `best python caching libraries` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 117 total matches; showing the top 8.

Explore on the web: https://awesome-repositories.com/q/best-python-caching-libraries

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/best-python-caching-libraries).**

## Results

- [grantjenks/python-diskcache](https://awesome-repositories.com/repository/grantjenks-python-diskcache.md) (2,828 ⭐) — This project is a disk-backed key-value store and persistent data structure library for Python. It provides a mechanism for persisting mappings, sets, and queues to the local filesystem to bypass memory limitations and cache expensive function results across threads and processes.

The system serves as a cross-process synchronization tool, offering distributed locks, semaphores, and barriers to coordinate shared resource access. It implements advanced caching strategies such as probabilistic stampede prevention, sharded data partitioning to increase throughput, and least-recently-used eviction
- [tkem/cachetools](https://awesome-repositories.com/repository/tkem-cachetools.md) (2,750 ⭐) — Extensible memoizing collections and decorators
- [django-cache-machine/django-cache-machine](https://awesome-repositories.com/repository/django-cache-machine-django-cache-machine.md) (884 ⭐) — Automatic caching and invalidation for Django models through the ORM.
- [bbangert/beaker](https://awesome-repositories.com/repository/bbangert-beaker.md) (545 ⭐) — Cache and Session Library
- [lericson/pylibmc](https://awesome-repositories.com/repository/lericson-pylibmc.md) (493 ⭐) — A Python wrapper around the libmemcached interface from TangentOrg.
- [jmoiron/johnny-cache](https://awesome-repositories.com/repository/jmoiron-johnny-cache.md) (311 ⭐) — johnny cache django caching framework
- [aio-libs/aiocache](https://awesome-repositories.com/repository/aio-libs-aiocache.md) (0 ⭐)
- [python-cachier/cachier](https://awesome-repositories.com/repository/python-cachier-cachier.md) (0 ⭐)
