Python Cache

Open-source Python projects categorized as Cache

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.

  • GPTCache

    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
  • 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-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.

  • requests-cache

    Transparent persistent cache for python requests

    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.

  • WordOps

    Install and manage a high performance WordPress stack with a few keystrokes

    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.

  • django-cachalot

    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

  • pottery

    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.

  • 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.

  • aiocache

    Asyncio cache manager for redis, memcached and memory

    Project 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

    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)

  • Cachier

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

  • fastapi_cache

    FastAPI simple cache

  • cachew

    Transparent and persistent cache/serialization powered by type hints

  • oxdork

    Google dorking tool

  • 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-01

    Take 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:

  • spotify_sync

    A schedulable, configurable CLI downloader for Spotify accounts

    Project mention: streamrip VS spotify_sync - a user suggested alternative | libhunt.com/r/streamrip | 2023-01-03
  • aiohttp-client-cache

    An async persistent cache for aiohttp requests

  • ccl_chrome_indexeddb

    (Sometimes partial) Python re-implementations of the technologies involved in reading various data sources in Chrome-esque applications.

  • wagtail-cache

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

  • memoize

    Caching library for asynchronous Python applications. (by DreamLab)

  • flask-cache-redis

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

  • httpx-cache

    Simple caching transport for httpx

  • cacheme

    Asyncio cache framework for Python

    Project 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.

  • 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.

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-25.

Python Cache related posts

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
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
www.onlyoffice.com