{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"},{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"Cacheout provides in-memory caching with multiple eviction strategies (FIFO, LIFO, LRU, MRU, LFU, RR), TTL support, memoization decorators, and thread safety for Python applications.","skillfed_tags":["in-memory-cache","memoization","eviction-policies"],"use_cases":["Memoize expensive function calls to avoid recomputation within a single process or application session","Implement a simple session store or temporary data cache with automatic expiration via TTL","Manage multiple independent caches (e.g., for different data types or modules) using CacheManager","Cache API responses or database query results with LRU eviction to bound memory usage","Track cache hit/miss statistics and performance metrics using built-in stats tracking"],"what_it_does":"Cacheout is a pure-Python in-memory caching library that stores key-value pairs with configurable eviction policies and optional time-based expiration. It offers six eviction strategies (FIFO, LIFO, LRU, MRU, LFU, RR) and supports TTL per entry or globally, with a maximum cache size enforced by the chosen policy. The library is thread-safe and provides bulk operations, filtering by string/regex/function, and event callbacks for cache lifecycle events.\n\nIt is typically used to reduce computation or I/O by caching function results via the memoization decorator, managing multiple independent caches through CacheManager, or as a simple session or data store within a single process. The package has no external runtime dependencies, making it lightweight to add to existing projects. Maintenance is dormant but the codebase is stable; the last release added callback hooks and statistics tracking.","worth_installing":"Yes, if you need a lightweight, dependency-free in-memory cache with multiple eviction strategies and TTL support for a single-process application. The dormant maintenance status (last release 900+ days ago) is acceptable for a stable caching library with no active security vulnerabilities, but monitor the repository if you require ongoing feature development or rapid bug fixes. Not suitable if you need distributed caching or Redis-like persistence."},"id":"cacheout","links":{"html":"https://skillfed.io/packages/cacheout","md":"https://skillfed.io/packages/cacheout.md","pypi":"https://pypi.org/project/cacheout/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-12-22","license_spdx":null,"license_treatment":"permissive","name":"cacheout","python_support":"supports_current","summary":"A caching library for Python"},"popularity":{"monthly_downloads":896353,"position":4787,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.16.0"}
