cachetools の代わりになるライブラリ

PyPI リトライ・キャッシュ

同じ分類でいま一番使われているのは tenacity(週 1.00億 回)、4週間で一番伸びているのは requests-cache(+19.9%)です。

同じ分類のライブラリ 1行目が cachetools

比較ツールで開く →
パッケージ週間DL4週比スター依存最新版の公開
cachetools
Extensible memoizing collections and decorators
6,488万+11.3%2,79302026-11-07
tenacity
Retry code until it succeeds
1.00億+15.0%8,83102026-10-07
backoff4年以上更新なし
Function decoration for backoff and retry
3,480万+7.9%2,69502022-10-05
diskcache3年以上更新なし脆弱性2
Disk Cache -- Disk and file backed persistent cache.
599万+3.5%2,91802023-08-31
aiocache2年以上更新なし
multi backend asyncio cache
181万+12.9%1,43702024-09-25
requests-cache
A persistent cache for python requests
114万+19.9%1,506102026-07-03

「代わり」は同じ分類に入っているライブラリです。機能や書き方は同じではないので、移る前にそれぞれの公式ドキュメントで確かめてください。