Explicitly typed attributes for Python
4.86 MB
built 2026-11-24 22:53:04 GMT
Description
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.
Dependencies
22 totalRequires19
- (python3dist(tomli) if python3-devel < 3.11)
- gcc
- pyproject-rpm-macros
- python3-Cython
- python3-devel
- python3-devel
- python3-numpy
- python3-setuptools
- python3-sphinx
- python3-traitsui
- python3dist(packaging)
- python3dist(pip) >= 19
- python3dist(setuptools)
- python3dist(wheel)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
- xorg-x11-server-Xvfb
Provides3
- python-Traits-debuginfo = 7.1.0-4.fc45
- python-Traits-debugsource = 7.1.0-4.fc45
- python3-Traits = 7.1.0-4.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| python-Traits.spec | 14.88 KB |
| traits-7.1.0.tar.gz | 4.82 MB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
