{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"}],"enrichment":{"capability":"Cachebox is a high-performance in-memory caching library written in Rust that provides multiple cache algorithms (FIFO, LRU, and others) for memoizing function results and storing arbitrary data with minimal overhead.","skillfed_tags":["performance","memoization","rust-extension"],"use_cases":["Memoizing expensive mathematical or data-processing functions to avoid redundant computation.","Caching database query results to reduce load and latency in web applications.","Storing API responses to minimize external requests and manage rate-limit quotas.","Accelerating machine learning inference by caching predictions for repeated input data.","Reducing rendering time in web frameworks by caching generated HTML or template results."],"what_it_does":"Cachebox is a Rust-based caching library that accelerates Python applications by storing computed results in memory and reusing them on subsequent calls with identical arguments. It provides seven cache algorithms (FIFO, LRU, and others) and can be used either as a decorator for functions or as a standalone dictionary-like cache object. The library is designed to be thread-safe, have minimal memory overhead, and avoid cache stampede through distributed locking.\n\nYou would use cachebox when your application repeatedly accesses the same data or performs expensive computations, database queries, or API calls. It copies mutable objects (dict, list, set) by default, preventing accidental mutations from affecting cached results\u2014a behavior that distinguishes it from Python's built-in functools.lru_cache. The package has zero Python dependencies and supports both synchronous and asynchronous functions.","worth_installing":"Yes. Cachebox is actively maintained, has no known vulnerabilities, supports current Python versions, and offers a permissive MIT license. The compiled-wheel distribution is straightforward on common platforms. Install it if you need fast, thread-safe caching with multiple eviction policies and minimal setup overhead\u2014particularly valuable in high-traffic or compute-intensive applications."},"id":"cachebox","links":{"html":"https://skillfed.io/packages/cachebox","md":"https://skillfed.io/packages/cachebox.md","pypi":"https://pypi.org/project/cachebox/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-10","license_spdx":null,"license_treatment":"permissive","name":"cachebox","python_support":"supports_current","summary":"The fastest memoizing and caching Python library written in Rust"},"popularity":{"monthly_downloads":14576959,"position":1225,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"6.2.5"}
