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
-
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.
-
Project mention: Limited budget or machine resources, how to achieve a decent LLM experience? | news.ycombinator.com | 2023-05-25
-
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? | reddit.com/r/Python | 2022-06-14Based 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.
-
Project 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.
-
Project 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.
-
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
-
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.
-
CodiumAI
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.
-
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
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-04Recently 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)
-
-
-
-
-
django-qsessions
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-01Take a look at https://github.com/QueraTeam/django-qsessions
-
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:
-
Project mention: streamrip VS spotify_sync - a user suggested alternative | libhunt.com/r/streamrip | 2023-01-03
-
-
ccl_chrome_indexeddb
(Sometimes partial) Python re-implementations of the technologies involved in reading various data sources in Chrome-esque applications.
-
-
-
-
-
Also if you are looking for a good cache framework, maybe Cacheme can help you.
-
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.
Python Cache related posts
- Easiest way to add write-through cache for auth_user queries?
- Help Center and Megathread Hub (01/05 - 07/05)
- Rememberer package
- Python deserves a good in-memory cache library!
- Web Scraping with Python: from Fundamentals to Practice
- Making a Password Manager, Should I Use MySQL or SQLite 3?
- What does the process of web scraping actually look like?
-
A note from our sponsor - ONLYOFFICE
www.onlyoffice.com | 30 May 2023
Index
What are some of the best open-source Cache projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | boltons | 6,206 |
2 | GPTCache | 3,401 |
3 | DiskCache | 1,767 |
4 | requests-cache | 1,111 |
5 | WordOps | 1,079 |
6 | django-cachalot | 1,032 |
7 | pottery | 866 |
8 | aiocache | 852 |
9 | fastapi-cache | 706 |
10 | Cachier | 442 |
11 | fastapi_cache | 191 |
12 | cachew | 189 |
13 | oxdork | 150 |
14 | django-qsessions | 136 |
15 | elara | 107 |
16 | spotify_sync | 102 |
17 | aiohttp-client-cache | 73 |
18 | ccl_chrome_indexeddb | 71 |
19 | wagtail-cache | 71 |
20 | memoize | 58 |
21 | flask-cache-redis | 43 |
22 | httpx-cache | 36 |
23 | cacheme | 29 |