SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Cache Projects
-
boltons
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
DiskCache
Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python.
-
fastapi-cache
fastapi-cache is a tool to cache fastapi response and function result, with backends support redis and memcached.
-
Project mention: WordOps: Install/manage a high performance WordPress stack with a few keystrokes | news.ycombinator.com | 2024-10-05
-
-
Project mention: Do you need Redis? PostgreSQL does queuing, locking, and pub/sub | news.ycombinator.com | 2024-11-03
Django has caching built in with support for Redis, and it also has an in-memory caching option which they label as “not for production” (because if you have multiple instances of Django serving requests, their in-memory caches will diverge which is...bad).
But for lots of cases, especially internal business tools, we can scale up a single instance for a long time, and this in-memory caching makes things super fast.
There’s a library, django-cachalot [1], that handles cache invalidation automatically any time a write happens to a table. That’s a rather blunt way to handle cache invalidation, but it’s wonderful because it will give you a boost for free with virtually no effort on your part, and if your internal business app has infrequent updates it basically runs entirely in RAM, and falls back to regular database queries if the data isn’t in the cache.
[1] https://github.com/noripyt/django-cachalot
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
FastAPI-boilerplate
An extendable async API using FastAPI, Pydantic V2, SQLAlchemy 2.0, PostgreSQL and Redis.
-
-
-
-
-
-
-
ccl_chromium_reader
(Sometimes partial) Python re-implementations of the technologies involved in reading various data sources in Chrome-esque applications.
-
django-qsessions
Extended session backends for Django (Sessions store IP, User Agent, and foreign key to User)
-
-
elara
Elara DB is an easy to use, lightweight persistent key-value store that can also be used as a fast in-memory cache. Manipulate data structures in-memory, encrypt database files and export data. :dart:
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Cache discussion
Python Cache related posts
-
Show HN: HNSW index for vector embeddings in approx 500 LOC
-
Show HN: PGCacheWatch
-
Show HN: PGCacheWatch
-
Boost Your App's Performance with PGCacheWatch for PostgreSQL
-
Show HN: PGCacheWatch: Real-Time PostgreSQL Cache Invalidation Made Easy
-
Boltons is a set of over 250 BSD-licensed, pure-Python utilities
-
#N/A in GoogleFinance Field
-
A note from our sponsor - SaaSHub
www.saashub.com | 20 May 2025
Index
What are some of the best open-source Cache projects in Python? This list will help you:
# | Project | Stars |
---|---|---|
1 | boltons | 6,614 |
2 | DiskCache | 2,542 |
3 | fastapi-cache | 1,566 |
4 | WordOps | 1,435 |
5 | requests-cache | 1,416 |
6 | django-cachalot | 1,344 |
7 | aiocache | 1,274 |
8 | pottery | 1,156 |
9 | FastAPI-boilerplate | 949 |
10 | Cachier | 596 |
11 | theine | 393 |
12 | oxdork | 223 |
13 | cachew | 220 |
14 | fastapi_cache | 219 |
15 | spotify_sync | 189 |
16 | ccl_chromium_reader | 174 |
17 | django-qsessions | 162 |
18 | aiohttp-client-cache | 137 |
19 | elara | 122 |
20 | wagtail-cache | 90 |
21 | cashier | 87 |
22 | memoize | 74 |
23 | flask-cache-redis | 67 |