Skip to content
Sections
>> Trisquel >> Paket >> etiona >> python >> python-traits
etiona  ]
[ Källkod: python-traits  ]

Paket: python-traits (4.6.0-1ubuntu2)

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.

Andra paket besläktade med python-traits

  • beror
  • rekommenderar
  • föreslår
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    också ett virtuellt paket som tillhandahålls av libc6-udeb
    dep: libc6 (>= 2.4) [i386]
  • dep: python
    interactive high-level object-oriented language (default version)
    dep: python (<< 2.8)
    dep: python (>= 2.7~)

Hämta python-traits

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
amd64 227,2 kbyte1457 kbyte [filförteckning]
i386 228,5 kbyte1459 kbyte [filförteckning]