BSD Ports

devel/py-traits 7.0.2_1 DragonFly

Explicitly Typed Attributes for Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE, PSFL
Categories
devel, python
Package size
5226.6 KiB, 12049.0 KiB installed

Description

The Traits project is at the center of all Enthought Tool Suite development and has changed the mental model used at Enthought for programming in the already extremely efficient Python programming language.

The Traits project allows Python programmers to use a special kind of type definition called a trait, which gives object attributes some additional characteristics, such as Initialization, Validation, Delegation, Notification and Visualization.

A class can freely mix trait-based attributes with normal Python attributes, or can opt to allow the use of only a fixed or open set of trait attributes within the class. Trait attributes defined by a classs are automatically inherited by any subclass derived from the class.

In the other systems

SystemPortVersion
DragonFlydevel/py-traits7.0.2_1
FreeBSDdevel/py-traits7.1.0_1
HardenedBSDdevel/py-traits7.1.0_1
GhostBSDdevel/py-traits7.1.0_1

Install

Binary package:

pkg install py311-traits

From DPorts:

cd /usr/dports/devel/py-traits && make install clean

Dependencies

Run dependencies 1