{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database"}],"enrichment":{"capability":"Provides asyncio-compatible caching with pluggable backends (memory, Redis, memcached) and a uniform interface for get, set, delete, and other standard cache operations.","skillfed_tags":["asyncio","caching","redis-memcached"],"use_cases":["Cache results of expensive async database queries in a web framework.","Store serialized Python objects in Redis for sharing cached state across multiple processes.","Decorate async functions with @cached to automatically memoize results with configurable TTL and namespacing.","Switch from in-memory caching during development to memcached in production without changing application code.","Implement multi-key operations (multi_get, multi_set) to batch cache reads and writes efficiently."],"what_it_does":"aiocache is an asyncio caching library that abstracts over multiple backend storage systems\u2014in-memory, Redis, and memcached\u2014behind a single, consistent API. It lets you cache the results of async functions and manage key-value data without rewriting code when you switch backends. The library includes decorators for transparent caching, serializers to handle Python objects, and a plugin system for hooks like timing and hit-miss tracking.\n\nYou can use it as a simple in-process cache for development, swap to Redis or memcached for production, and configure everything through a unified interface. It has no runtime dependencies by default; optional backends require their respective client libraries installed separately.","worth_installing":"Yes. aiocache is actively maintained, has no install friction, and provides a clean abstraction over multiple cache backends\u2014valuable for async Python applications that may need to scale from development to production. The main caveat is the unclear license status; verify the actual license before committing to production use. No known vulnerabilities."},"id":"aiocache","links":{"html":"https://skillfed.io/packages/aiocache","md":"https://skillfed.io/packages/aiocache.md","pypi":"https://pypi.org/project/aiocache/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-09-25","license_spdx":null,"license_treatment":"unclear","name":"aiocache","python_support":"unspecified","summary":"multi backend asyncio cache"},"popularity":{"monthly_downloads":8847386,"position":1587,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.12.3"}
