How to Install and Uninstall python2-pylru Package on openSUSE Leap

Last updated: November 27,2024

1. Install "python2-pylru" package

Please follow the instructions below to install python2-pylru on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-pylru

2. Uninstall "python2-pylru" package

Please follow the guidelines below to uninstall python2-pylru on openSUSE Leap:

$ sudo zypper remove python2-pylru

3. Information about the python2-pylru package on openSUSE Leap

Information for package python2-pylru:
--------------------------------------
Repository : Main Repository
Name : python2-pylru
Version : 1.2.0-bp153.1.14
Arch : noarch
Vendor : openSUSE
Installed Size : 93,0 KiB
Installed : No
Status : not installed
Source package : python-pylru-1.2.0-bp153.1.14.src
Summary : A least recently used (LRU) cache implementation
Description :
Pylru implements a true LRU cache along with several support classes. The cache is efficient and written in pure Python. It works with Python 2.6+ including the 3.x series. Basic operations (lookup, insert, delete) all run in a constant amount of time. Pylru provides a cache class with a simple dict interface. It also provides classes to wrap any object that has a dict interface with a cache. Both write-through and write-back semantics are supported. Pylru also provides classes to wrap functions in a similar way, including a function decorator.