Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install traits

How to install traits

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install traits
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
4.3.0 Available View build log
4.2.0 Available View build log
4.1.0 Available View build log
4.0.0 Available View build log
3.6.0 Available View build log
3.5.0 Available View build log
3.4.0 Available View build log
Windows (64-bit)
4.3.0 Available View build log
4.2.0 Available View build log
4.1.0 Available View build log
4.0.0 Available View build log
3.6.0 Available View build log
3.5.0 Available View build log
3.4.0 Available View build log
Mac OS X (10.5+)
4.3.0 Available View build log
4.2.0 Available View build log
4.1.0 Available View build log
4.0.0 Available View build log
3.6.0 Available View build log
3.5.0 Available View build log
3.4.0 Available View build log
Linux (32-bit)
4.3.0 Available View build log
4.2.0 Available View build log
4.1.0 Available View build log
4.0.0 Available View build log
3.6.0 Available View build log
3.5.0 Available View build log
3.4.0 Available View build log
Linux (64-bit)
4.3.0 Available View build log
4.2.0 Available View build log
4.1.0 Available View build log
4.0.0 Available View build log
3.6.0 Available View build log
3.5.0 Available View build log
3.4.0 Available View build log
 
License
BSD
Lastest release
version 4.3.0 on Mar 30th, 2013

http://github.enthought.com/traits

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. We encourage everyone to join us in enjoying the productivity gains from using such a powerful approach.

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: A trait attribute's type 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.)

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 class are automatically inherited by any subclass derived from the class.

Prerequisites

You must have the following libraries installed before building or installing Traits:

  • Numpy to support the trait types for arrays.

Subscribe to package updates

Last updated Mar 30th, 2013

Download Stats

Last month:4

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.