How to Install and Uninstall python310-cachey Package on openSuSE Tumbleweed

Last updated: December 27,2024

1. Install "python310-cachey" package

Here is a brief guide to show you how to install python310-cachey on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python310-cachey

2. Uninstall "python310-cachey" package

Please follow the steps below to uninstall python310-cachey on openSuSE Tumbleweed:

$ sudo zypper remove python310-cachey

3. Information about the python310-cachey package on openSuSE Tumbleweed

Information for package python310-cachey:
-----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python310-cachey
Version : 0.2.1-2.8
Arch : noarch
Vendor : openSUSE
Installed Size : 22.2 KiB
Installed : No
Status : not installed
Source package : python-cachey-0.2.1-2.8.src
Upstream URL : https://github.com/mrocklin/cachey/
Summary : A Python cache mindful of computation/storage costs
Description :
Cachey tries to hold on to values that have the following characteristics
1. Expensive to recompute (in seconds)
2. Cheap to store (in bytes)
3. Frequently used
4. Recenty used
It accomplishes this by adding the following to each items score on each access
score += compute_time / num_bytes * (1 + eps) ** tick_time
For some small value of epsilon (which determines the memory halflife). This
has units of inverse bandwidth, has exponential decay of old results and
roughly linear amplification of repeated results.