[ buster ]
[ 原始碼: python-traits ]
套件:python-traits(4.6.0-1 以及其他的)
Manifest typing and reactive programming for Python (Python 2)
The traits package provides a metaclass with special attributes that are called traits. A trait is a type definition that can be used for normal Python object attributes, giving the attributes some additional characteristics:
* Initialization: A trait attribute can have a default value * Validation: A trait attribute is manifestly typed. * Delegation: The value of a trait attribute can be contained in another object * Notification: Setting the value of a trait attribute can fired callbacks * Visualization: With the TraitsUI package, GUIs can be generated automatically from traited objects.
This is the Python 2 version of the package.
其他與 python-traits 有關的套件
|
|
|
|
-
- dep: libc6 (>= 2.4)
- GNU C 函式庫:共用函式庫
同時作為一個虛擬套件由這些套件填實: libc6-udeb
-
- dep: python
- interactive high-level object-oriented language (Python2 version)
- dep: python (<< 2.8)
- dep: python (>= 2.7~)
-
- sug: python-traitsui
- traits-capable user interfaces