Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #15903 > unrolled thread

Bug#1072640: ITP: fscacher -- Python package for caching results of operations on heavy file trees

Started byYaroslav Halchenko <debian@onerussian.com>
First post2024-06-05 18:00 +0200
Last post2024-06-05 18:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python


Contents

  Bug#1072640: ITP: fscacher -- Python package for caching results of operations on heavy file trees Yaroslav Halchenko <debian@onerussian.com> - 2024-06-05 18:00 +0200

#15903 — Bug#1072640: ITP: fscacher -- Python package for caching results of operations on heavy file trees

FromYaroslav Halchenko <debian@onerussian.com>
Date2024-06-05 18:00 +0200
SubjectBug#1072640: ITP: fscacher -- Python package for caching results of operations on heavy file trees
Message-ID<IM1dp-Q1s-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: wnpp
Severity: wishlist
Owner: Yaroslav Halchenko <debian@onerussian.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org

* Package name    : fscacher
  Version         : 0.4.1
  Upstream Contact: Yaroslav Halchenko <debian@onerussian.com>
* URL             : https://github.com/con/fscacher
* License         : MIT/X
  Programming Lang: Python
  Description     : Python package for 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.

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
WWW:   http://www.linkedin.com/in/yarik        

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web