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:03 2025 |
| md5 checksum | 3e6682a6246501974b53e0daa4e1813e |
| arch | x86_64 |
| build | py310h5eee18b_0 |
| depends | libgcc-ng >=11.2.0, python >=3.10,<3.11.0a0 |
| license | BSD-3-Clause |
| license_family | BSD |
| md5 | 3e6682a6246501974b53e0daa4e1813e |
| name | traits |
| platform | linux |
| sha1 | 7c09efa0d63ced3ba815f7518d61104be99fe190 |
| sha256 | 79b30404e37d8d6e596931b728ff12d98d3b4c06b99d64109efb31ea314e8273 |
| size | 5220324 |
| subdir | linux-64 |
| timestamp | 1741858673338 |
| version | 7.0.2 |