The Traits project allows Python programmers to use a special kind of type definition called a trait, which gives object attributes some additional characteristics: Initialization: A trait has a default value, which is automatically set as the initial value of an attribute before its first use in a program. Validation: The type of a trait attribute is explicitly declared. The type is evident in the code, and only values that meet a programmer-specified set of criteria (i.e., the trait definition) can be assigned to that attribute. Delegation: The value of a trait attribute can be contained either in the defining object or in another object delegated to by the trait. Notification: Setting the value of a trait attribute can notify other parts of the program that the value has changed. Visualization: User interfaces that allow a user to interactively modify the value of a trait attribute can be automatically constructed using the trait’s definition. (This feature requires that a supported GUI toolkit be installed. If this feature is not used, the Traits project does not otherwise require GUI support.)
| Uploaded | Tue Apr 1 00:34:05 2025 |
| md5 checksum | e73c0f1ce6715484b7a465122506e6cd |
| arch | x86_64 |
| build | py312h5eee18b_0 |
| depends | libgcc-ng >=11.2.0, python >=3.12,<3.13.0a0 |
| license | BSD-3-Clause |
| license_family | BSD |
| md5 | e73c0f1ce6715484b7a465122506e6cd |
| name | traits |
| platform | linux |
| sha1 | f771bb1edaa55c675f022e7927b58ce19e549b6e |
| sha256 | e3fd98cd21714158c2fab353fc2413a859a08b288570c5d6e63529326c777a18 |
| size | 5412221 |
| subdir | linux-64 |
| timestamp | 1741858875711 |
| version | 7.0.2 |