[ trixie ]
[ sid ]
[ 原始碼: flexcache ]
套件:python3-flexcache(0.3-2)
Saves and loads to the cache a transformed versions of a source object
A robust and extensible package to cache on disk the result of expensive calculations.
When the source is changed, the DiskCache detects that the cached file is older, calls `parse` again storing and returning the new result.
It is also possible to detect that the file has changed by hashing the file by using `DiskCacheByHash` instead of `DiskCacheByMTime`.
Cached files are saved using the pickle protocol, and each has a companion json file with the header content.
其他與 python3-flexcache 有關的套件
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-typing-extensions
- Backported and Experimental Type Hints for Python