{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/2"},{"label":"WSGI","url":"https://skillfed.io/packages/category/internet-www-http-wsgi"},{"label":"Middleware","url":"https://skillfed.io/packages/category/internet-www-http-wsgi-middleware"}],"enrichment":{"capability":"A lightweight LRU (least recently used) cache implementation that evicts infrequently accessed keys and values to manage memory automatically.","skillfed_tags":["caching","performance-optimization","wsgi"],"use_cases":["Decorate expensive database query functions to avoid repeated lookups with the same parameters.","Cache API responses in web applications to reduce external service calls.","Store computed results in data processing pipelines to speed up repeated calculations.","Implement session or token caching in WSGI middleware applications.","Reduce memory usage in long-running processes by automatically evicting stale cached data."],"what_it_does":"repoze.lru is a standalone LRU cache implementation designed to automatically manage memory by evicting the least recently used entries when the cache reaches its size limit. It provides both a decorator and a direct cache class interface, making it suitable for caching expensive function results or storing frequently accessed data.\n\nThe package has been maintained since 2009 and is classified as mature. It carries no runtime dependencies, making it lightweight and easy to integrate into existing projects. The implementation supports modern Python versions and is actively maintained, with recent updates confirming ongoing compatibility.","worth_installing":"Yes. This is a mature, dependency-free caching utility with active maintenance, permissive licensing, and no known vulnerabilities. Install it if you need a simple, lightweight LRU cache without the overhead of external dependencies or more complex caching frameworks. It is particularly suited to WSGI and web applications."},"id":"repoze-lru","links":{"html":"https://skillfed.io/packages/repoze-lru","md":"https://skillfed.io/packages/repoze-lru.md","pypi":"https://pypi.org/project/repoze-lru/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-16","license_spdx":"LicenseRef-Repoze-BSD-derived","license_treatment":"permissive","name":"repoze-lru","python_support":"supports_current","summary":"A tiny LRU cache implementation and decorator"},"popularity":{"monthly_downloads":3200599,"position":2705,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.8"}
