How to Install and Uninstall python3-smmap2 Package on openSUSE Leap

Last updated: May 18,2024

1. Install "python3-smmap2" package

This tutorial shows how to install python3-smmap2 on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-smmap2

2. Uninstall "python3-smmap2" package

Please follow the guidance below to uninstall python3-smmap2 on openSUSE Leap:

$ sudo zypper remove python3-smmap2

3. Information about the python3-smmap2 package on openSUSE Leap

Information for package python3-smmap2:
---------------------------------------
Repository : Main Repository
Name : python3-smmap2
Version : 2.0.5-bp155.2.9
Arch : noarch
Vendor : openSUSE
Installed Size : 162.5 KiB
Installed : No
Status : not installed
Source package : python-smmap2-2.0.5-bp155.2.9.src
Upstream URL : https://github.com/Byron/smmap
Summary : A pure python implementation of a sliding window memory map manager
Description :
Smmap wraps an interface around mmap and tracks the mapped files as
well as the amount of clients who use it. If the system runs out of
resources, or if a memory limit is reached, it will automatically
unload unused maps to allow continued operation.
To allow processing large files even on 32 bit systems, it allows
only portions of the file to be mapped. Once the user reads beyond
the mapped region, smmap will automatically map the next required
region, unloading unused regions using a LRU algorithm.
The interface also works around the missing offset parameter in python
implementations up to python 2.5.
Although the library can be used most efficiently with its native
interface, a Buffer implementation is provided to hide these details
behind a simple string-like interface.
For performance critical 64 bit applications, a simplified version of
memory mapping is provided which always maps the whole file, but
still provides the benefit of unloading unused mappings on demand.