Path: csiph.com!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Yaroslav Halchenko Newsgroups: linux.debian.bugs.dist,linux.debian.devel,linux.debian.maint.python Subject: Bug#1072640: ITP: fscacher -- Python package for caching results of operations on heavy file trees Date: Wed, 05 Jun 2024 18:00:03 +0200 Message-ID: X-Original-To: Debian Bug Tracking System X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Jun 5 15:57:14 2024 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: 0.239 Reply-To: Yaroslav Halchenko , 1072640@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 1072640 X-Debian-Pr-Package: wnpp MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MimiURL9aDpoSpNk" Content-Disposition: inline X-Reportbug-Version: 13.0.1 X-URL: http://www.oneukrainian.com X-Image-URL: http://www.oneukrainian.com/img/yoh.png X-PGP-Key: http://www.oneukrainian.com/gpg-yoh.asc X-Fingerprint: C5B9 05F0 E8D9 FD96 68FF 366F A2DE 2350 62DA 33FA X-Sa-Exim-Connect-IP: 73.218.136.210 X-Sa-Exim-Rcpt-To: submit@bugs.debian.org, yoh@onerussian.com X-Sa-Exim-Mail-From: debian@onerussian.com X-Sa-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-Sa-Exim-Scanned: Yes (on smtp.onerussian.com) X-Greylist: delayed 2548 seconds by postgrey-1.36 at buxtehude; Wed, 05 Jun 2024 15:55:57 UTC X-Debian-Message: from BTS X-Mailing-List: archive/latest/1841010 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 67 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 5 Jun 2024 11:13:24 -0400 X-Original-Message-ID: Xref: csiph.com linux.debian.bugs.dist:1199945 linux.debian.devel:112045 linux.debian.maint.python:15903 --MimiURL9aDpoSpNk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Package: wnpp Severity: wishlist Owner: Yaroslav Halchenko X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org * Package name : fscacher Version : 0.4.1 Upstream Contact: Yaroslav Halchenko * URL : https://github.com/con/fscacher * License : MIT/X Programming Lang: Python Description : Python package for caching results of operations on hea= vy 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 a= rgument. . If you have a function 'foo()' that takes a file path as its first arg= ument, and if the behavior of 'foo()' is pure in the *contents* of the path a= nd 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' ch= anges, in which case the function will be run again. --=20 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 =20 --MimiURL9aDpoSpNk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEExbkF8OjZ/ZZo/zZvot4jUGLaM/oFAmZggJEACgkQot4jUGLa M/r6Ow//bxr1sfozd9xgyTGnOxgfaVhWIzcWpSl7MueckR2SkErIk4qEPI8oIlyJ nHmDuCnFGW098KP2H36/KqyPyyguxd+OiSEA/+9Pn6LoPdkR3IVYGJCS9Hj6UleQ iu8xC9O8P/3wHzWP2rLUlOJgRlVS5i9FQquElA0ohM/oF1zpL7P26sTIlQEpEETz jpU3n7GtLy24XpH8i/+aC9n9q+Rrfx2vF+DkaubmT8VWBOQF2bOkE/f+1sNCo1bL DmEfR5a/BZvBS16O3fBU31SolUmIkWUJzZTco0OSBbwaj6z6k209IO/XqPQ6iYvn ZFi8sLQQc7EfcVuQhkmEbnifY+NX03O3oYuhisZRdnFYzRTi1fNAFTQlgMly6mbR 0TdWUwqRf8OvTiQXXkEtgv4U1hNX+dw7923m5hyig4XKStinNIaAvOMguANmSFA0 444jIlTb9b4GoaXWydXJvFkk4t+CU3C+LYXnJLo+iVdighdvnm3NYSsBP/TS7UWQ zQV+Vu2AMDT6RvwdkDJqCDkKShHAVRgI+g4H7UAwofgCffKuH5hiW5Db8USSz5ge g2N2ocqGR2xSJyEs3z8hqZdZqKoz4H0M4Rra7nnG37Czp+dssasTdSGei5Qy8jXz VqJVb3LNw3qWdOebifH37PdjAM/v+bYZ695RzC0BUmiCtIwBCbg= =bz01 -----END PGP SIGNATURE----- --MimiURL9aDpoSpNk--