File: control

package info (click to toggle)
fscacher 0.4.3-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 324 kB
  • sloc: python: 1,767; makefile: 5
file content (35 lines) | stat: -rw-r--r-- 1,582 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Source: fscacher
Section: python
Priority: optional
Maintainer: Yaroslav Halchenko <debian@onerussian.com>
Build-Depends: debhelper-compat (= 13),
               pybuild-plugin-pyproject, python3-setuptools,
               python3-all,
               python3-joblib,
               python3-platformdirs,
               python3-pytest,
               python3-pytest-cov,
               python3-pytest-mock,
               python3-pytest-rerunfailures,
Standards-Version: 4.7.0
Testsuite: autopkgtest-pkg-pybuild
Homepage: https://github.com/con/fscacher
Rules-Requires-Root: no
Vcs-Git: https://salsa.debian.org/debian/fscacher.git
Vcs-Browser: https://salsa.debian.org/debian/fscacher

Package: python3-fscacher
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends},
Description: 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.