Python Cache

Open-source Python projects categorized as Cache | Edit details

Top 18 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.

  • DiskCache

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

    Project mention: How I setup a sqlite cache in python | dev.to | 2022-03-29

    Give Grant some love and give grantjenks/python-diskcache a ⭐.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • requests-cache

    Transparent persistent cache for python requests

    Project mention: What does the process of web scraping actually look like? | reddit.com/r/webscraping | 2022-04-24

    The hardest part is actually running a web scraper at scale and that's where many people fail. We have all of the working pieces - we can find the products and parse the raw data. Time to scale it up! Best tip here is to start off with caching. Using caching libraries like requests-cache or whatever library equivalent will speed up process significantly.

  • pottery

    Redis for humans. 🌎🌍🌏

    Project mention: Worth wrapping pottery functions for compliance with async? | reddit.com/r/Python | 2021-08-01

    I have a question about https://github.com/brainix/pottery. It provides a nice Pythonic API by wrapping Redis constructs with Python Redis-backed data structures (Dict, Deque, etc.). I am using it in a Fastapi microservice project, which is obviously async.

  • Cachier

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

  • cachew

    Transparent and persistent cache/serialization powered by type hints

  • fastapi_cache

    FastAPI simple cache

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • Exploit-Discord-Cache-System-PoC

    🗄️ Exploit Discord's cache system to remote upload payloads to Discord users machines (possible malware dropper for e.g. targeting specific victims)

  • elara

    Elara DB is an easy to use, lightweight key-value database 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: Elara DB is an easy to use, lightweight key-value database for python that can also be used as a fast in-memory cache. Manipulate data structures in-memory, encrypt database files and export data. | reddit.com/r/webdev | 2021-06-05
  • oxdork

    Google dorking tool

    Project mention: Google dorking tool | reddit.com/r/OSINT | 2022-03-21
  • wagtail-cache

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

  • memoize

    Caching library for asynchronous Python applications. (by DreamLab)

    Project mention: Good and Bad Elixir | news.ycombinator.com | 2021-06-10

    I totally agree, though I think those articles are a lot harder (eg requiring more skill) to write well because you need to quickly ramp your readers on all of whatever the context is that's necessary to actually appreciate the nuance of the design decisions under discussion. You're basically by definitely going to be out of the realm of "just follow best practice X" or "apply pattern Y or you're doing it wrong."

    As a small example, I've been working on a small asyncio-based web service (Python) which is oriented around an expensive process that generates a result, where the result is stashed in sqlite and returned. I knew upfront that I needed a way to track when a particular result was already being prepared so that if I got a second request for it, it would collapse it into the first one and only do the work once. I wrote this as a twenty line memoizing decorator, but it turns out this issue as a name— cache stampeding. Once I realized that, I discovered that there are existing (and much more complicated/tunable) solutions to this problem, such as https://github.com/DreamLab/memoize/, but the article pitching that solution spends quite a bit of time getting to it— enough so that if I'd discovered it before building my own, I'm not sure I would even have appreciated its applicability:

    https://tech.ringieraxelspringer.com/blog/open-source/cachin...

  • aiohttp-client-cache

    An async persistent cache for aiohttp requests

    Project mention: Requests-Cache – An easy way to get better performance with the python requests library | reddit.com/r/Python | 2021-08-29

    It had been in need of a new maintainer for awhile, and I saw that it was a solid library with lots of potential to be even better. I eventually decided to take on maintenance myself and pick up where Roman left off, and it's been a really enjoyable project to work on. I've also been working on aiohttp-client-cache, an async library with similar features, but made specifically for aiohttp.

  • flask-cache-redis

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

    Project mention: Implement API Caching with Redis, Flask, and Docker [Step-By-Step] | reddit.com/r/Python | 2021-06-10

    https://levelup.gitconnected.com/implement-api-caching-with-redis-flask-and-docker-step-by-step-9139636cef24 Source code: https://github.com/vjanz/flask-cache-redis

  • pyappcache

    A library for application-level caching

  • httpx-cache

    Simple caching transport for httpx

    Project mention: httpx-cache: Simple caching transport for the awesome httpx lib | reddit.com/r/Python | 2021-12-16

    That's why I decided to try and make my own: https://github.com/obendidi/httpx-cache

  • vignette

    A Python library for generating thumbnails following the FreeDesktop specification - mirror of https://gitlab.com/hydrargyrum/vignette

  • TinyPyCache

    A feature complete W-TinyLFU cache implementation in Python.

    Project mention: A feature complete W-TinyLFU cache implementation in Python. | reddit.com/r/learnpython | 2022-03-31

    Here's the github link: https://github.com/vanika/TinyPyCache

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 2022-04-24.

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 5,781
2 DiskCache 1,477
3 requests-cache 942
4 pottery 672
5 Cachier 400
6 cachew 179
7 fastapi_cache 175
8 Exploit-Discord-Cache-System-PoC 159
9 elara 95
10 oxdork 80
11 wagtail-cache 59
12 memoize 53
13 aiohttp-client-cache 39
14 flask-cache-redis 30
15 pyappcache 16
16 httpx-cache 14
17 vignette 3
18 TinyPyCache 0
Find remote jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com