{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"Disk-backed cache library that stores key-value pairs on disk and in files, providing a pure-Python alternative to in-memory caching systems like Memcached.","skillfed_tags":["caching","django-compatible","persistent-storage"],"use_cases":["Replace Memcached or Redis in Django applications where disk space is available but memory is constrained","Cache API responses or database query results in web applications to reduce load on backend services","Implement persistent job queues or work-in-progress tracking across multiple worker processes","Store computed results or intermediate data in data processing pipelines with cross-process access","Build cross-process synchronization primitives like locks and throttles without external services"],"what_it_does":"Diskcache-weave is a pure-Python caching library that uses disk and file storage to back cache operations, designed to leverage unused disk space in memory-constrained environments. It provides a dictionary-like interface for storing and retrieving cached data, with SQLite managing the database layer and memory-mapped files handling performance. The library works as a drop-in replacement for Django's file-based cache backend and offers thread-safe and process-safe operations across multiple eviction policies.\n\nThe package addresses the performance limitations of Django's built-in file cache, which uses random culling and becomes slow as cache size grows. Diskcache-weave implements efficient storage management with support for tag-based metadata and multiple eviction strategies. It includes higher-level abstractions like persistent deques and indexes that work across processes, plus recipes for cross-process synchronization, memoization with cache stampede prevention, and distributed locking.","worth_installing":"Yes, if you need disk-backed caching in a pure-Python environment without external dependencies. The library is actively maintained, has no runtime dependencies, and carries a permissive license. Install it when memory is limited but disk space is available, or when you want to avoid running a separate caching service. Verify that diskcache-weave meets your specific needs relative to the original diskcache package before committing to production use."},"id":"diskcache-weave","links":{"html":"https://skillfed.io/packages/diskcache-weave","md":"https://skillfed.io/packages/diskcache-weave.md","pypi":"https://pypi.org/project/diskcache-weave/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-19","license_spdx":null,"license_treatment":"permissive","name":"diskcache-weave","python_support":"supports_current","summary":"Disk Cache -- Disk and file backed persistent cache."},"popularity":{"monthly_downloads":628295,"position":5675,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.6.3.post1"}
