{"library":"dogpile-cache","type":"library","category":null,"description":"dogpile.cache is a Python caching API, currently at version 1.5.0, designed to prevent the 'cache stampede' or 'dogpile effect' by using a coordinated locking mechanism. It provides a generic interface to various caching backends (e.g., Redis, Memcached, DBM, Valkey, in-memory) through configurable 'cache regions.' The library emphasizes a succinct API for defining cache characteristics, including storage, expiration, and custom key generation, supporting both direct `get_or_create` and function decorator patterns. It is actively developed with a consistent release cadence, offering robust solutions for managing cache invalidation and data regeneration in high-concurrency environments.","language":"python","status":"active","version":"1.5.0","tags":["caching","cache","dogpile","locking","redis","memcached","valkey","dbm"],"last_verified":"Wed May 20","install":[{"cmd":"pip install dogpile-cache","imports":["from dogpile.cache import make_region","from dogpile.cache.region import CacheRegion","from dogpile.cache.api import NO_VALUE"]},{"cmd":"pip install dogpile-cache[redis]","imports":[]},{"cmd":"pip install dogpile-cache[pylibmc]","imports":[]}],"homepage":null,"github":"https://github.com/sqlalchemy/dogpile.cache","docs":"https://dogpilecache.sqlalchemy.org","changelog":null,"pypi":"https://pypi.org/project/dogpile-cache/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":77,"avg_install_s":1.9,"avg_import_s":0.16,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/dogpile-cache/compatibility"}}