How to Install and Uninstall python311-simplegeneric Package on openSuSE Tumbleweed
Last updated: December 26,2024
1. Install "python311-simplegeneric" package
This guide let you learn how to install python311-simplegeneric on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
python311-simplegeneric
Copied
2. Uninstall "python311-simplegeneric" package
Please follow the instructions below to uninstall python311-simplegeneric on openSuSE Tumbleweed:
$
sudo zypper remove
python311-simplegeneric
Copied
3. Information about the python311-simplegeneric package on openSuSE Tumbleweed
Information for package python311-simplegeneric:
------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python311-simplegeneric
Version : 0.8.1-10.1
Arch : noarch
Vendor : openSUSE
Installed Size : 24.3 KiB
Installed : No
Status : not installed
Source package : python-simplegeneric-0.8.1-10.1.src
Upstream URL : http://cheeseshop.python.org/pypi/simplegeneric
Summary : Simple generic functions (similar to Python's own len(), pickle.dump(), etc)
Description :
The gsimplegeneric module lets you define simple single-dispatch
generic functions, akin to Python's built-in generic functions like
glen(), iter() and so on. However, instead of using
specially-named methods, these generic functions use simple lookup
tables, akin to those used by e.g. gpickle.dump() and other
generic functions found in the Python standard library.
As you can see from the above examples, generic functions are actually
quite common in Python already, but there is no standard way to create
simple ones. This library attempts to fill that gap, as generic
functions are an gexcellent alternative to the Visitor pattern_, as
well as being a great substitute for most common uses of adaptation.
This library tries to be the simplest possible implementation of generic
functions, and it therefore eschews the use of multiple or predicate
dispatch, as well as avoiding speedup techniques such as C dispatching
or code generation. But it has absolutely no dependencies, other than
Python 2.4, and the implementation is just a single Python module of
less than 100 lines.
------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python311-simplegeneric
Version : 0.8.1-10.1
Arch : noarch
Vendor : openSUSE
Installed Size : 24.3 KiB
Installed : No
Status : not installed
Source package : python-simplegeneric-0.8.1-10.1.src
Upstream URL : http://cheeseshop.python.org/pypi/simplegeneric
Summary : Simple generic functions (similar to Python's own len(), pickle.dump(), etc)
Description :
The gsimplegeneric module lets you define simple single-dispatch
generic functions, akin to Python's built-in generic functions like
glen(), iter() and so on. However, instead of using
specially-named methods, these generic functions use simple lookup
tables, akin to those used by e.g. gpickle.dump() and other
generic functions found in the Python standard library.
As you can see from the above examples, generic functions are actually
quite common in Python already, but there is no standard way to create
simple ones. This library attempts to fill that gap, as generic
functions are an gexcellent alternative to the Visitor pattern_, as
well as being a great substitute for most common uses of adaptation.
This library tries to be the simplest possible implementation of generic
functions, and it therefore eschews the use of multiple or predicate
dispatch, as well as avoiding speedup techniques such as C dispatching
or code generation. But it has absolutely no dependencies, other than
Python 2.4, and the implementation is just a single Python module of
less than 100 lines.