diskcache

Package — CachingPython 3.7+Intermediate

Disk-based cache using SQLite; survives restarts

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
None (pure Python, uses SQLite)
Install
pip install diskcache

Learn by Difficulty

Quick Example

python
# Install: pip install diskcache
import diskcache

# Basic diskcache usage
print(f"Using diskcache")
# See documentation for detailed examples

diskcache is a third-party package. Disk-based cache using SQLite; survives restarts. Install with: pip install diskcache

Try in Playground

Tags

packagecachingperformancestorage