{"repo":"EzyGang/py-cachify","free":true,"listed":false,"github":"https://github.com/EzyGang/py-cachify","clone":"git clone https://github.com/EzyGang/py-cachify.git","description":"Caching and distributed locks in your applications with just one or two lines. Easy to learn. Fast to code.","language":"Python","stars":79,"topics":["cache","decorators","lock","locks","pickle","redis","async","python","python3","sync"],"license":"MIT","category":"databases-storage","readme_excerpt":"--- Py-Cachify is a lightweight, backend-agnostic Python library for caching, distributed locking, and resource pool management. Works seamlessly with both sync and async code. Out of the box, it supports in-memory , Redis , and DragonflyDB backends. You can also integrate any custom backend by implementing the SyncClient or AsyncClient protocols. Documentation : https://py-cachify.readthedocs.io/latest/ Source Code : https://github.com/EzyGang/py-cachify FastAPI Demo : https://github.com/EzyGang/py-cachify-fastapi-demo --- Table of Contents - Why py-cachify? - Installation - Quick Start - Core Features - Caching - Distributed Locks - Run Once - Resource Pools (New in 3.1.0) - Advanced Patterns - Backend Configuration - API Quick Reference - Contributing - License --- Why py-cachify? There are many caching libraries for Python—so why choose py-cachify? 🪶 Tiny & Focused — No bloated dependencies or complex setup. Just install and use. 🔌 Backend Agnostic — Switch from in-memory (development) to Redis/DragonflyDB (production) by changing one line. Or plug in any custom backend that implements simple protocols. ✨ Minimal, Intuitive Syntax — Stop wrestling with low-level get/set calls. One decorator handles caching, locking, or pool management automatically. 🎯 Decorators That Just Work — No manual key management, no cache client wiring in every file. Initialize once, decorate everywhere. Both sync and async functions are supported with identical APIs. 🏭 Production Ready — 100%","default_branch":null,"files":null,"tree":[],"storefront":"/r/EzyGang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EzyGang/py-cachify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}