全部搜索项
bianca  ]
[ 源代码: fscacher  ]

软件包:python3-fscacher(0.4.3-0.3)

python3-fscacher 的相关链接

Screenshot

下载源码包 fscacher

维护者:

外部的资源:

相似软件包:

caching results of operations on heavy file trees

fscacher is a Python module which provides a cache and decorator for memoizing functions whose outputs depend upon the contents of a file argument.

If you have a function 'foo()' that takes a file path as its first argument, and if the behavior of 'foo()' is pure in the *contents* of the path and the values of its other arguments, 'fscacher' can help cache that function. It caches the outputs of 'foo()' will be cached for each set of input arguments and for a "fingerprint" (timestamps and size) of each 'path'. If 'foo()' is called twice with the same set of arguments, the result from the first call will be reused for the second, unless the file pointed to by 'path' changes, in which case the function will be run again.

其他与 python3-fscacher 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 python3-fscacher

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 14.1 kB62.0 kB [文件列表]