How to Install and Uninstall python312-injector Package on openSuSE Tumbleweed
Last updated: December 25,2024
1. Install "python312-injector" package
This guide covers the steps necessary to install python312-injector on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
python312-injector
Copied
2. Uninstall "python312-injector" package
Please follow the instructions below to uninstall python312-injector on openSuSE Tumbleweed:
$
sudo zypper remove
python312-injector
Copied
3. Information about the python312-injector package on openSuSE Tumbleweed
Information for package python312-injector:
-------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-injector
Version : 0.21.0-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 206.7 KiB
Installed : No
Status : not installed
Source package : python-injector-0.21.0-1.4.src
Upstream URL : https://github.com/alecthomas/injector
Summary : Python dependency injection framework, inspired by Guice
Description :
Dependency injection as a formal pattern is less useful in Python than
in other languages, primarily due to its support for keyword
arguments, the ease with which objects can be mocked, and its dynamic
nature.
That said, a framework for assisting in this process can remove a lot
of boiler-plate from larger applications. That's where Injector can
help. It automatically and transitively provides keyword arguments
with their values. As an added benefit, Injector encourages nicely
compartmentalised code through the use of Module s.
While being inspired by Guice, it does not slavishly replicate its
API. Providing a Pythonic API trumps faithfulness.
-------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-injector
Version : 0.21.0-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 206.7 KiB
Installed : No
Status : not installed
Source package : python-injector-0.21.0-1.4.src
Upstream URL : https://github.com/alecthomas/injector
Summary : Python dependency injection framework, inspired by Guice
Description :
Dependency injection as a formal pattern is less useful in Python than
in other languages, primarily due to its support for keyword
arguments, the ease with which objects can be mocked, and its dynamic
nature.
That said, a framework for assisting in this process can remove a lot
of boiler-plate from larger applications. That's where Injector can
help. It automatically and transitively provides keyword arguments
with their values. As an added benefit, Injector encourages nicely
compartmentalised code through the use of Module s.
While being inspired by Guice, it does not slavishly replicate its
API. Providing a Pythonic API trumps faithfulness.