This documentation is for a development version of Traitlets. There may be significant differences from the latest stable release.
|Date:||May 23, 2017|
|license:||Modified BSD License|
Traitlets is a framework that lets Python classes have attributes with type checking, dynamically calculated default values, and ‘on change’ callbacks.
The package also includes a mechanism to use traitlets for configuration, loading values from files or from command line arguments. This is a distinct layer on top of traitlets, so you can use traitlets in your code without using the configuration machinery.
- Using Traitlets
- Trait Types
- Defining new trait types
- Traitlets API reference
- Configurable objects with traitlets.config
- Migration from Traitlets 4.0 to Traitlets 4.1
- Changes in Traitlets