Package Info

python-traits


Explicitly typed attributes for Python


Unspecified

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).


License: BSD-3-Clause AND EPL-1.0 AND LGPL-2.1-only
URL: https://github.com/enthought/traits

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
6.3.1-bp156.3.4 info GA Release 2023-12-07 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-traits
6.3.1-bp155.2.12 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-traits
6.3.1-bp154.1.26 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-traits
5.2.0-bp153.1.19 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-traits
  • python3-traits
5.2.0-bp152.1.9 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-traits
  • python3-traits
5.1.1-bp151.1.2 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-traits
  • python3-traits