Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises Learn more →
Top 23 Python Cache Projects
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.
Semantic cache for LLMs. Fully integrated with LangChain and llama_index.Project mention: Limited budget or machine resources, how to achieve a decent LLM experience? | news.ycombinator.com | 2023-05-25
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.
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? | reddit.com/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.
Transparent persistent cache for python requestsProject mention: Web Scraping with Python: from Fundamentals to Practice | reddit.com/r/Python | 2022-06-23
For anyone who goes with requests as your HTTP client, I would highly recommend adding requests-cache for a nice performance boost.
Install and manage a high performance WordPress stack with a few keystrokesProject mention: [Guide] Do a full setup of WordPress using Nginx, Redis and WP CLI | reddit.com/r/selfhosted | 2023-03-24
https://wordops.net is also nice to automate parts, if you don't mind that it's all running under the same user.
No effort, no worry, maximum performance.Project mention: Easiest way to add write-through cache for auth_user queries? | reddit.com/r/django | 2023-05-16
Particularly I use django-cachalot, as it's easy to use and very feature complete for my use cases: https://github.com/noripyt/django-cachalot
Redis for humans. 🌎🌍🌏Project mention: Is Redis om production ready? Or will it be production ready anytime soon? | reddit.com/r/redis | 2023-05-12
However, as an alternative, consider my library, Pottery. Pottery offers some similar functionality to Redis OM, and Pottery is production ready.
TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.
Asyncio cache manager for redis, memcached and memoryProject mention: Should bots cache data from database? | reddit.com/r/Discord_Bots | 2022-10-16
for python, you can use a library called aiocache which allows you to cache the database for x minutes and can use memory or redis
fastapi-cache is a tool to cache fastapi response and function result, with backends support redis and memcached.Project mention: Caching Api route response in redis/in-memory/memcache other methods to reduce db/external api calls? | reddit.com/r/sveltejs | 2023-05-04
Recently I had been working with a stock/derivatve market indicator platform for a client. It requires us to fetch data from timescaledb and then perform computation on it and display results. Now db call is expensive since ton of data and computation is also expensive. So waht we did was used Sveltekit woth sveltequery configured with auto refetch in frontend and used fastapi for creating apis which return the data pre computed. We used a https://github.com/long2ice/fastapi-cache library with it to make sure that computation happens only once and all the clients get cached response. I wonder if there is any library like this one which is easy to plug directly in sveltekit API route. So that we can move completely to sveltekit rather than maintaining seperate servers. (We would be using Danfo.js as replacement to pandas for computations)
Persistent, stale-free, local and cross-machine caching for Python functions.
FastAPI simple cache
Transparent and persistent cache/serialization powered by type hints
Google dorking tool
Extended session backends for Django (Sessions store IP, User Agent, and foreign key to User)Project mention: Listing all of a specific user's active sessions | reddit.com/r/django | 2022-12-01
Take a look at https://github.com/QueraTeam/django-qsessions
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:
A schedulable, configurable CLI downloader for Spotify accountsProject mention: streamrip VS spotify_sync - a user suggested alternative | libhunt.com/r/streamrip | 2023-01-03
An async persistent cache for aiohttp requests
(Sometimes partial) Python re-implementations of the technologies involved in reading various data sources in Chrome-esque applications.
A simple page cache for Wagtail based on the Django cache middleware.
Caching library for asynchronous Python applications. (by DreamLab)
:fire: Implementation of API Caching with Flask, Redis and Docker
Simple caching transport for httpx
Asyncio cache framework for PythonProject mention: Python deserves a good in-memory cache library! | reddit.com/r/Python | 2023-02-08
Also if you are looking for a good cache framework, maybe Cacheme can help you.
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.
Python Cache related posts
Easiest way to add write-through cache for auth_user queries?
3 projects | reddit.com/r/django | 16 May 2023
Help Center and Megathread Hub (01/05 - 07/05)
4 projects | reddit.com/r/arknights | 1 May 2023
2 projects | reddit.com/r/Python | 10 Feb 2023
Python deserves a good in-memory cache library!
7 projects | reddit.com/r/Python | 8 Feb 2023
Web Scraping with Python: from Fundamentals to Practice
1 project | reddit.com/r/Python | 23 Jun 2022
Making a Password Manager, Should I Use MySQL or SQLite 3?
2 projects | reddit.com/r/Python | 14 Jun 2022
What does the process of web scraping actually look like?
2 projects | reddit.com/r/webscraping | 24 Apr 2022
A note from our sponsor - ONLYOFFICE
www.onlyoffice.com | 30 May 2023
What are some of the best open-source Cache projects in Python? This list will help you: