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

Last updated: December 23,2024

1. Install "python2-traits" package

This guide covers the steps necessary to install python2-traits on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-traits

2. Uninstall "python2-traits" package

This is a short guide on how to uninstall python2-traits on openSUSE Leap:

$ sudo zypper remove python2-traits

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

Information for package python2-traits:
---------------------------------------
Repository : Main Repository
Name : python2-traits
Version : 5.2.0-bp153.1.19
Arch : x86_64
Vendor : openSUSE
Installed Size : 2,4 MiB
Installed : No
Status : not installed
Source package : python-traits-5.2.0-bp153.1.19.src
Summary : Explicitly typed attributes for Python
Description :
The traits package developed by Enthought provides a special type definition
called a trait. Although they can be used as normal Python object attributes,
traits also have several additional characteristics:
* Initialization: A trait can be assigned a default value.
* Validation: A trait attribute's type can be explicitly declared.
* Delegation: The value of a trait attribute can be contained either
in another object.
* Notification: Setting the value of a trait attribute can trigger
notification of other parts of the program.
* Visualization: User interfaces that permit the interactive
modification of a trait's value can be automatically constructed
using the trait's definition.
Part of the Enthought Tool Suite (ETS).