Python Caching

Open-source Python projects categorized as Caching

Top 20 Python Caching Projects

  • Joblib

    Computing with Python functions.

  • django-cacheops

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

    Project mention: Ban 1+N in Django | | 2023-03-26

    Here is an example of such thing

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • DiskCache

    Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python.

    Project mention: Making a Password Manager, Should I Use MySQL or SQLite 3? | /r/Python | 2022-06-14

    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.

  • cachetools

    Extensible memoizing collections and decorators

    Project mention: Python deserves a good in-memory cache library! | /r/Python | 2023-02-08
  • python-diskcache

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

  • django-cache-machine

    Automatic caching and invalidation for Django models through the ORM.

    Project mention: Easiest way to add write-through cache for auth_user queries? | /r/django | 2023-05-16

    There's also django-cache-machine if you'd like to do model caching on a more general level. It sounds promising, but I haven't used it, so can't speak to its capabilities.

  • Beaker

    WSGI middleware for sessions and caching (by bbangert)

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • Cachier

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

  • johnny-cache

    johnny cache django caching framework

  • safer

    🧷 A safer writer 🧷

    Project mention: How to use mkdocs to write the top-level README for GitHub? | /r/learnpython | 2023-02-03

    But I have one hurdle I haven't managed to get over, and that's writing the top-level README that GitHub shows when you visit the project, like this:

  • hazelcast-python-client

    Hazelcast Python Client

  • cashier

    Persistent caching for python functions (by atmb4u)

    Project mention: Rememberer package | /r/Python | 2023-02-10

    cashier offers persistent caching that can persist across executions if you use explicit file paths for the cache.

  • wagtail-cache

    A simple page cache for Wagtail based on the Django cache middleware.

  • Zict

    Useful Mutable Mappings

  • django-viewlet

    Render template parts with extended cache control.

  • Chest

    Simple spill-to-disk dictionary

  • flask-cache-redis

    :fire: Implementation of API Caching with Flask, Redis and Docker

  • alkymi

    Pythonic task automation

    Project mention: Show HN: Mr. Graph. A graph deifnition and execution library for Python | | 2023-03-15

    alkymi ( is such a library (disclaimer: I'm the author). I built alkymi to help me cache complex data pipelines, while still having all the niceties of Python.

  • httpx-cache

    Simple caching transport for httpx

  • Restaurant-Monitoring-System

    Backend system for restaurant management

    Project mention: Build a Robust Monitoring System with Flask and SQLAlchemy to Keep Your System Online | /r/Python | 2023-02-28

    GitHub link:

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-16.

Python Caching related posts


What are some of the best open-source Caching projects in Python? This list will help you:

Project Stars
1 Joblib 3,280
2 django-cacheops 1,853
3 DiskCache 1,779
4 cachetools 1,675
5 python-diskcache 1,026
6 django-cache-machine 858
7 Beaker 508
8 Cachier 445
9 johnny-cache 304
10 safer 175
11 hazelcast-python-client 106
12 cashier 82
13 wagtail-cache 71
14 Zict 65
15 django-viewlet 61
16 Chest 59
17 flask-cache-redis 43
18 alkymi 43
19 httpx-cache 37
20 Restaurant-Monitoring-System 3
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives